protected ImageConfiguration singleImageWithoutBuildOrRunWithRemoveNamePattern(String removeNamePattern) {
        return new ImageConfiguration.Builder()
                .name("example:latest")
                .removeNamePattern(removeNamePattern)
                .build();
    }
Mock project with one image that is removed by pattern
src/test/java/io/fabric8/maven/docker/RemoveMojoTest.java