HttpClient { public synchronized static String getWebViewUserAgent(String defaultUserAgent) { if (TextUtils.isEmpty(sWebViewUserAgent)) { return defaultUserAgent; } return sWebViewUserAgent; }  static AndroidHttpClient getHttpClient(); static HttpGet initializeHttpGet(final String url, final Context context); static void makeTrackingHttpRequest(final Iterable<String> urls, final Context context); static void makeTrackingHttpRequest(final Iterable<String> urls,
            final Context context,
            final MoPubEvents.Type type); static void makeTrackingHttpRequest(final String url,
            final Context context); static void makeTrackingHttpRequest(final String url,
            final Context context,
            final MoPubEvents.Type type); synchronized static String getWebViewUserAgent(String defaultUserAgent); synchronized static String getWebViewUserAgent(); synchronized static void setWebViewUserAgent(final String userAgent);  }
@Test public void getWebViewUserAgent_whenUserAgentNotSet_shouldReturnDefault() { assertThat(getWebViewUserAgent("test")).isEqualTo("test"); }