@Test
public void shouldReturnJSONObjectWithProperValue() {

    when(client.sendGetterRequest(MARKING_STATUS_URL)).thenReturn(Optional.of(JSON_STRING));
    MessageMarkingStatus result = messageMarkingConfiguration.getMessageMarkingStatus();
    Assert.assertTrue(result == MessageMarkingStatus.ON);
    verify(client, never()).sendSetterRequest(anyString());
}