@Test
public void testWithNullCredentials() throws IOException {

  BigtableOptions options =
      BigtableOptions.builder()
          .setProjectId(TEST_PROJECT_ID)
          .setInstanceId(TEST_INSTANCE_ID)
          .setCredentialOptions(CredentialOptions.nullCredential())
          .setUserAgent(TEST_USER_AGENT)
          .build();
  dataSettings = BigtableVeneerSettingsFactory.createBigtableDataSettings(options);
  assertTrue(
      dataSettings.getStubSettings().getCredentialsProvider() instanceof NoCredentialsProvider);
}