@Test
public void serverIsAvailable() {

    stubFor(get(urlEqualTo("/"))
            .willReturn(aResponse()
                    .withStatus(Status.OK.getStatusCode())));
    assertTrue(client.isServerAvailable());
}