@Test
  public void testExecute_userNames()
      throws VerificationException, IOException, InterruptedException, DigestException {
    String targetImage = "brokenuserimage:maven" + System.nanoTime();
    buildToDockerDaemon(emptyTestProject, targetImage, "pom-broken-user.xml");
    Assert.assertEquals(
        "myuser:mygroup",
        new Command("docker", "inspect", "-f", "{{.Config.User}}", targetImage).run().trim());
  }
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