@Test
public void shouldReturnJSONObjectWithProperValue() {

    when(client.sendGetterRequest(LOGGING_STATUS_URL)).thenReturn(Optional.of(JSON_STRING));
    MessageLoggingControlStatus result = messageLoggingConfiguration.getMessageLoggingStatus();
    Assert.assertTrue(result == MessageLoggingControlStatus.ON);
    verify(client, never()).sendSetterRequest(anyString());
}