public static Builder builder(String projectId, CredentialsProvider credentialsProvider) {
    checkArgument(!projectId.isEmpty(), "projectId can not be empty");
    return new Builder(projectId, credentialsProvider);
  }
@Test
  public void testBuilderWithInvalidProjectShouldFail() {

    IllegalArgumentException exception =
        assertThrows(
            IllegalArgumentException.class, () -> SecretManagerResourceManager.builder("", null));
    assertThat(exception).hasMessageThat().contains("projectId can not be empty");
  }