@Test
public void shouldReturnNullIfClientReturnsOptionalAbsent() {

    when(client.sendGetterRequest(MARKING_STATUS_URL)).thenReturn(Optional.<String>absent());
    MessageMarkingStatus result = messageMarkingConfiguration.getMessageMarkingStatus();
    assertNull(result);
    verify(client, never()).sendSetterRequest(anyString());
}