@Test
public void testGetAuthorizationHandler() {

  Configuration config = new Configuration();
  config.setClass(
      GCS_AUTHORIZATION_HANDLER_IMPL.getKey(),
      FakeAuthorizationHandler.class,
      AuthorizationHandler.class);
  GoogleCloudStorageOptions options =
      GoogleHadoopFileSystemConfiguration.getGcsOptionsBuilder(config).build();
  Class<? extends AuthorizationHandler> handler = options.getAuthorizationHandlerImplClass();
  assertThat(handler).isAssignableTo(AuthorizationHandler.class);
  assertThat(handler).isEqualTo(FakeAuthorizationHandler.class);
}