public static String getFullGcsPath(String... pathParts) {
    checkArgument(pathParts.length != 0, "Must provide at least one path part");
    checkArgument(
        stream(pathParts).noneMatch(Strings::isNullOrEmpty), "No path part can be null or empty");

    return String.format("gs://%s", String.join("/", pathParts));
  }
@Test
  public void testGetFullGcsPathOneEmptyValue() {
    assertThrows(
        IllegalArgumentException.class,
        () -> ArtifactUtils.getFullGcsPath("bucket", "", "dir2", "file"));
  }