@Test
    void removeWithNoImages() throws IOException, MojoExecutionException {
        givenMavenProject();
        
        whenMojoExecutes();

        thenHasImageIsNotCalled();
        thenListImagesIsNotCalled();
        thenRemoveImageIsNotCalled();
    }
Mock project with no images, no images are removed.
src/test/java/io/fabric8/maven/docker/RemoveMojoTest.java