Repository: GoogleContainerTools/jib
File: jib-gradle-plugin/src/test/java/com/google/cloud/tools/jib/gradle/JibExtensionTest.java (Java)

Code before:
        .containsExactly("env1", "val1", "env2", "val2")
        .inOrder();

    // Absolute paths
    System.setProperty("jib.outputPaths.digest", "/digest/path");
    assertThat(testJibExtension.getOutputPaths().getDigestPath())
        .isEqualTo(Paths.get("/digest/path").toAbsolutePath());
    System.setProperty("jib.outputPaths.imageId", "/id/path");
    assertThat(testJibExtension.getOutputPaths().getImageIdPath())
        .isEqualTo(Paths.get("/id/path").toAbsolutePath());
    System.setProperty("jib.outputPaths.tar", "/tar/path");
    assertThat(testJibExtension.getOutputPaths().getTarPath())
        .isEqualTo(Paths.get("/tar/path").toAbsolutePath());
    // Relative paths
    System.setProperty("jib.outputPaths.digest", "digest/path");
    assertThat(testJibExtension.getOutputPaths().getDigestPath())
        .isEqualTo(fakeProject.getProjectDir().toPath().resolve("digest/path"));
    System.setProperty("jib.outputPaths.imageId", "id/path");
    assertThat(testJibExtension.getOutputPaths().getImageIdPath())
        .isEqualTo(fakeProject.getProjectDir().toPath().resolve("id/path"));
    System.setProperty("jib.outputPaths.tar", "tar/path");
    assertThat(testJibExtension.getOutputPaths().getTarPath())
        .isEqualTo(fakeProject.getProjectDir().toPath().resolve("tar/path"));
    System.setProperty("jib.configurationName", "myConfiguration");
    assertThat(testJibExtension.getConfigurationName().get()).isEqualTo("myRuntimeClasspath");
  }

  private TargetImageParameters generateTargetImageParametersWithTags(String... tags) {
    HashSet<String> set = new HashSet<>(Arrays.asList(tags));
    testJibExtension.to(
        to -> {
          to.setTags(set);
        });
    return testJibExtension.getTo();
  }
}


Review comment (suggestion):
oops sorry and this:
```suggestion
    assertThat(testJibExtension.getConfigurationName().get()).isEqualTo("myConfiguration");
  }
```

Code after:
        .containsExactly("env1", "val1", "env2", "val2")
        .inOrder();

    // Absolute paths
    System.setProperty("jib.outputPaths.digest", "/digest/path");
    assertThat(testJibExtension.getOutputPaths().getDigestPath())
        .isEqualTo(Paths.get("/digest/path").toAbsolutePath());
    System.setProperty("jib.outputPaths.imageId", "/id/path");
    assertThat(testJibExtension.getOutputPaths().getImageIdPath())
        .isEqualTo(Paths.get("/id/path").toAbsolutePath());
    System.setProperty("jib.outputPaths.tar", "/tar/path");
    assertThat(testJibExtension.getOutputPaths().getTarPath())
        .isEqualTo(Paths.get("/tar/path").toAbsolutePath());
    // Relative paths
    System.setProperty("jib.outputPaths.digest", "digest/path");
    assertThat(testJibExtension.getOutputPaths().getDigestPath())
        .isEqualTo(fakeProject.getProjectDir().toPath().resolve("digest/path"));
    System.setProperty("jib.outputPaths.imageId", "id/path");
    assertThat(testJibExtension.getOutputPaths().getImageIdPath())
        .isEqualTo(fakeProject.getProjectDir().toPath().resolve("id/path"));
    System.setProperty("jib.outputPaths.tar", "tar/path");
    assertThat(testJibExtension.getOutputPaths().getTarPath())
        .isEqualTo(fakeProject.getProjectDir().toPath().resolve("tar/path"));
    System.setProperty("jib.configurationName", "myConfiguration");
    assertThat(testJibExtension.getConfigurationName().get()).isEqualTo("myConfiguration");
  }

  private TargetImageParameters generateTargetImageParametersWithTags(String... tags) {
    HashSet<String> set = new HashSet<>(Arrays.asList(tags));
    testJibExtension.to(
        to -> {
          to.setTags(set);
        });
    return testJibExtension.getTo();
  }
}