protected void initialize(AbstractGoogleClientRequest<?> httpClientRequest) throws IOException {
    validateUniverseDomain();
    if (getGoogleClientRequestInitializer() != null) {
      getGoogleClientRequestInitializer().initialize(httpClientRequest);
    }
  }
@Test
  public void testInitialize() throws Exception {
    TestRemoteRequestInitializer remoteRequestInitializer = new TestRemoteRequestInitializer();
    AbstractGoogleClient client =
        new MockGoogleClient.Builder(
                TRANSPORT, "http://www.test.com/", "", JSON_OBJECT_PARSER, null)
            .setApplicationName("Test Application")
            .setGoogleClientRequestInitializer(remoteRequestInitializer)
            .build();
    client.initialize(null);
    assertTrue(remoteRequestInitializer.isCalled);
  }