@Test
  public void testDockerDaemon_defaultTarget()
      throws IOException, InterruptedException, DigestException {
    Assert.assertEquals(
        "Hello, world. An argument.\n",
        JibRunHelper.buildToDockerDaemonAndRun(
            defaultTargetTestProject,
            "default-target-name:default-target-version",
            "build.gradle"));
    assertDockerInspect("default-target-name:default-target-version");
  }
Asserts that the test project has the required exposed ports, labels and volumes.

@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/DefaultTargetProjectIntegrationTest.java