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

    final BuildMojo mojoSpy = spy(mojo);
    mojo.execute();
    verify(mojoSpy, never()).execute(any(DockerClient.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