### Question:
JsonClient { public JsonClient get(String url) { if(httpClient != null) { response = HttpExecuter.get(httpClient, url); return this; } else { throw new RuntimeException(getHttpClientIsNullError()); } } JsonClient();  JsonClient(ObjectMapper objectMapper); JsonClient http(); JsonClient ssl(); JsonClient ssl(String username, String password); HttpResponse response(); T object(Class<T> clz); List<T> list(Class<T> clz); List<List<T>> listOfList(Class<T> clz); Map<String, T> map(Class<T> clz); T poll(String url, Class<T> clz, long timeoutInMs); T poll(String url, Class<T> clz, long timeoutInMs, Condition<T> condition); JsonClient get(String url); JsonClient post(String url, Object object); JsonClient put(String url, Object object); JsonClient delete(String url);  }### Answer:
@Test(expected=RuntimeException.class) public void testThatHttpClientThrowsExceptionWhenNull() { jsonClient.get("http: }