private void givenRunningContainer(Container instance, String containerId, String containerName, String imageName) {
        Mockito.lenient().doReturn(containerId).when(instance).getId();
        Mockito.lenient().doReturn(containerName).when(instance).getName();
        Mockito.lenient().doReturn(imageName).when(instance).getImage();
    }
Mock project with one image, query service indicates three running images, none labelled,
but allContainers is true.
<p>
The containers are named with ascending indices, but pattern matching is in effect, so
two of them are stopped.
src/test/java/io/fabric8/maven/docker/StopMojoTest.java