@Test
public void shouldReturnJSONObjectWithProperValue() {

    when(client.sendGetterRequest(STUB_STATUS_URL)).thenReturn(Optional.of(JSON_STRING));
    JSONObject result = stubConfiguration.getStubConfigInformation();
    assertTrue(new JSONObject(JSON_STRING).similar(result), "The two JSON objects should be similar.");
    verify(client, never()).sendSetterRequest(anyString());
}