private void thenRemoveImageIsNotCalled() throws DockerAccessException {
        Mockito.verify(dockerAccess, Mockito.never())
            .removeImage(Mockito.anyString(), Mockito.anyBoolean());
    }
Mock project with one image that is removed by pattern
src/test/java/io/fabric8/maven/docker/RemoveMojoTest.java