public void testBuildWithSkipDockerBuild() throws Exception {
    final BuildMojo mojo = setupMojo(getPom("/pom-build-skip-build.xml"));
    assertThat(mojo.isSkipDockerBuild()).isTrue();

    final DockerClient docker = mock(DockerClient.class);
    mojo.execute(docker);

    verify(docker, never())
        .build(any(Path.class), anyString(), any(AnsiProgressHandler.class));
    verify(docker, never())
        .push(anyString(), any(AnsiProgressHandler.class));
  }
Test what happens if tagInfoFile does not contain a path, i.e. the value is simply
"image_info.json".
src/test/java/com/spotify/docker/BuildMojoTest.java