@Test
  public void testDockerDaemon_userNumeric()
      throws IOException, InterruptedException, DigestException {
    String targetImage = "emptyimage:gradle" + System.nanoTime();
    JibRunHelper.buildToDockerDaemon(emptyTestProject, targetImage, "build.gradle");
    Assert.assertEquals(
        "12345:54321",
        new Command("docker", "inspect", "-f", "{{.Config.User}}", targetImage).run().trim());
  }
Asserts that the test project has the required exposed ports and labels.

@param imageReference the image to test
@throws IOException if the {@code docker inspect} command fails to run
@throws InterruptedException if the {@code docker inspect} command is interrupted
jib-gradle-plugin/src/integration-test/java/com/google/cloud/tools/jib/gradle/EmptyProjectIntegrationTest.java