@SuppressWarnings("deprecation")
    private void givenRemoveAll(boolean removeAll) {
        removeMojo.removeAll= removeAll;
    }
Mock project with one image that is removed by pattern
src/test/java/io/fabric8/maven/docker/RemoveMojoTest.java