@Test
    void killafterAndShutdownWithoutKeepingContainers() throws DockerAccessException, ExecException {
        runService.stopContainer(container, createImageConfig(SHUTDOWN_WAIT, KILL_AFTER), false, false);
        verifyStopAndRemove((KILL_AFTER + 500) / 1000, false);
    }
This test need to be refactored. In fact, testing Mojos must be setup correctly at all. Blame on me that there are so
few tests ...
src/test/java/io/fabric8/maven/docker/service/RunServiceTest.java