private void whenCreateContainerConfig(String imageName) throws DockerAccessException {
        PortMapping portMapping = runService.createPortMapping(runConfig, properties);

        containerConfig = runService.createContainerConfig(imageName, runConfig, portMapping, null, properties, getBaseDirectory());
        startConfig = runService.createContainerHostConfig(runConfig, portMapping, getBaseDirectory());
    }
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