@Test
public void shouldReturnNullIfClientReturnsOptionalAbsent() {

    when(client.sendGetterRequest(LOCALHOST_BLOCKING_STATUS_URL)).thenReturn(Optional.<String>absent());
    LocalhostControlStatus result = localhostBlockingConfiguration.getLocalhostBlockingStatus();
    assertNull(result);
    verify(client, never()).sendSetterRequest(anyString());
}