@Test
  public void testMultiPlatform()
      throws DigestException, VerificationException, IOException, InterruptedException {
    String targetImage = "multiplatformproject:maven" + System.nanoTime();
    buildToDockerDaemon(simpleTestProject, targetImage, "pom-multiplatform-build.xml");
    Assert.assertEquals(
        "Hello, world. \n1970-01-01T00:00:01Z\n",
        new Command("docker", "run", "--rm", targetImage).run());
  }
Builds and runs jib:buildDocker on a project at {@code projectRoot} pushing to {@code
imageReference}.
jib-maven-plugin/src/integration-test/java/com/google/cloud/tools/jib/maven/BuildDockerMojoIntegrationTest.java