@Test public void testGetInstance() { Internals internals = AdWordsInternals.getInstance(); String userAgent = internals.getUserAgentCombiner().getUserAgent("test"); assertTrue(userAgent.contains("AwApi")); assertFalse(userAgent.contains("DfaApi")); assertFalse(userAgent.contains("DfpApi")); }
public static AdWordsInternals getInstance() { return INSTANCE; }
AdWordsInternals extends Internals { public static AdWordsInternals getInstance() { return INSTANCE; } }
AdWordsInternals extends Internals { public static AdWordsInternals getInstance() { return INSTANCE; } @Inject  AdWordsInternals(AuthorizationHeaderProvider authorizationHeaderProvider,
      UserAgentCombiner userAgentCombiner, HttpTransport httpTransport,
      AdWordsLibConfiguration adWordsLibConfiguration,
      AdsServiceLoggers adsServiceLoggers, OAuth2Helper oAuth2Helper,
      AdsUtilityRegistry adsUtilityRegistry,
      XmlFieldExtractor xmlFieldExtractor,
      Injector injector); }
AdWordsInternals extends Internals { public static AdWordsInternals getInstance() { return INSTANCE; } @Inject  AdWordsInternals(AuthorizationHeaderProvider authorizationHeaderProvider,
      UserAgentCombiner userAgentCombiner, HttpTransport httpTransport,
      AdWordsLibConfiguration adWordsLibConfiguration,
      AdsServiceLoggers adsServiceLoggers, OAuth2Helper oAuth2Helper,
      AdsUtilityRegistry adsUtilityRegistry,
      XmlFieldExtractor xmlFieldExtractor,
      Injector injector); static AdWordsInternals getInstance(); static DependencyBootstrapper getBootstrapper(); AdWordsLibConfiguration getAdWordsLibConfiguration(); }
AdWordsInternals extends Internals { public static AdWordsInternals getInstance() { return INSTANCE; } @Inject  AdWordsInternals(AuthorizationHeaderProvider authorizationHeaderProvider,
      UserAgentCombiner userAgentCombiner, HttpTransport httpTransport,
      AdWordsLibConfiguration adWordsLibConfiguration,
      AdsServiceLoggers adsServiceLoggers, OAuth2Helper oAuth2Helper,
      AdsUtilityRegistry adsUtilityRegistry,
      XmlFieldExtractor xmlFieldExtractor,
      Injector injector); static AdWordsInternals getInstance(); static DependencyBootstrapper getBootstrapper(); AdWordsLibConfiguration getAdWordsLibConfiguration();  }