@Test
  public void testBuild_multipleTags()
      throws IOException, InterruptedException, InvalidImageReferenceException, DigestException {
    String targetImage =
        IntegrationTestingConfiguration.getTestRepositoryLocation()
            + "/multitag-image:gradle"
            + System.nanoTime();
    JibRunHelper.buildAndRunAdditionalTag(
        emptyTestProject, targetImage, "gradle-2" + System.nanoTime(), "");
    assertDockerInspect(targetImage);
  }
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