### Question:
ConfigFetchHttpClient { HttpURLConnection createHttpURLConnection() throws FirebaseRemoteConfigException { try { URL url = new URL(getFetchUrl(projectNumber, namespace)); return (HttpURLConnection) url.openConnection(); } catch (IOException e) { throw new FirebaseRemoteConfigException(e.getMessage()); } } ConfigFetchHttpClient(
      Context context,
      String appId,
      String apiKey,
      String namespace,
      long connectTimeoutInSeconds,
      long readTimeoutInSeconds); @VisibleForTesting long getConnectTimeoutInSeconds(); @VisibleForTesting long getReadTimeoutInSeconds();  }### Answer:
@Test public void createHttpURLConnection_returnsHttpURLConnectionWithValidFetchURL() throws Exception { HttpURLConnection urlConnection = configFetchHttpClient.createHttpURLConnection(); assertThat(urlConnection.getURL().toString()) .isEqualTo(String.format(FETCH_REGEX_URL, PROJECT_NUMBER, DEFAULT_NAMESPACE)); }