@Test
public void shouldReturnTrueForDropAllStubConfigIfTheGivenJSONIsCorrectEvenIfEmpty() {

    when(client.sendGetterRequest(STUB_STATUS_URL)).thenReturn(Optional.<String>of(validEmptyJson()));
    ArgumentCaptor<String> url = ArgumentCaptor.forClass(String.class);
    boolean result = stubConfiguration.dropAllStubConfig();
    assertTrue(result);
    verify(client, times(0)).sendSetterRequest(url.capture());
}