@Test
public void testOptionsAreConstructedWithValidInput() throws IOException {

  configuration.set(BigtableOptionsFactory.BIGTABLE_HOST_KEY, TEST_HOST);
  configuration.setBoolean(BigtableOptionsFactory.BIGTABLE_USE_SERVICE_ACCOUNTS_KEY, false);
  configuration.setBoolean(BigtableOptionsFactory.BIGTABLE_NULL_CREDENTIAL_ENABLE_KEY, true);
  BigtableOptions options = BigtableOptionsFactory.fromConfiguration(configuration);
  assertEquals(TEST_HOST, options.getDataHost());
  assertEquals(TEST_PROJECT_ID, options.getProjectId());
  assertEquals(TEST_INSTANCE_ID, options.getInstanceId());
}