@Test
  public void testExecute_noToImageAndInvalidProjectName()
      throws DigestException, VerificationException, IOException, InterruptedException {
    buildToDockerDaemon(simpleTestProject, "image reference ignored", "pom-no-to-image.xml");
    Assert.assertEquals(
        "Hello, world. \n1970-01-01T00:00:01Z\n",
        new Command("docker", "run", "--rm", "my-artifact-id:1").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