@Test
  public void testExecute_timestampCustom()
      throws IOException, InterruptedException, VerificationException {
    String targetImage = dockerHost + ":5000/simpleimage:maven" + System.nanoTime();
    String pom = "pom-timestamps-custom.xml";
    assertThat(buildAndRunComplex(targetImage, pom))
        .isEqualTo(
            "Hello, world. \n2019-06-17T16:30:00Z\nrw-r--r--\nrw-r--r--\n"
                + "foo\ncat\n2019-06-17T16:30:00Z\n2019-06-17T16:30:00Z\n");

    assertThat(getCreationTime(targetImage)).isEqualTo(Instant.parse("2013-11-05T06:29:30Z"));
  }
Pulls a built image and attempts to run it. Also verifies the container configuration and
history of the built image.

@param imageReference the image reference of the built image
@return the container output
@throws IOException if an I/O exception occurs
@throws InterruptedException if the process was interrupted
jib-maven-plugin/src/integration-test/java/com/google/cloud/tools/jib/maven/BuildImageMojoIntegrationTest.java