@Test
public void shouldReturnNullIfClientReturnsOptionalAbsentForVersionInformation() {

    when(client.sendGetterRequest(VERSION_INFO_URL)).thenReturn(Optional.<String>absent());
    String result = wilmaApplication.getVersionInformation();
    assertNull("WilmaVersionInformation is expected to be null.", result);
    verify(client, never()).sendSetterRequest(anyString());
}