@Test
  public void testToDockerDaemon_multiPlatform()
      throws DigestException, IOException, InterruptedException {
    String targetImage = "multiplatform:gradle" + System.nanoTime();
    assertThat(
            JibRunHelper.buildToDockerDaemonAndRun(
                simpleTestProject, targetImage, "build-multi-platform.gradle"))
        .isEqualTo("Hello, world. \n1970-01-01T00:00:01Z\n");
  }
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/SingleProjectIntegrationTest.java