private void thenStartConfigIsValid() throws IOException {
        JsonObject expectedHostConfig = JsonFactory.newJsonObject(loadFile("docker/containerHostConfigAll.json"));
        Assertions.assertEquals(expectedHostConfig.toString(), startConfig.toJson());
    }
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