@Test
public void testPingHost()
{

    registry.pingHost( HOST_IP );
    verify( webClient ).get();
    doReturn( Response.Status.OK.getStatusCode() ).when( response ).getStatus();
    assertTrue( registry.pingHost( HOST_IP ) );
    doReturn( Response.Status.SERVICE_UNAVAILABLE.getStatusCode() ).when( response ).getStatus();
    assertFalse( registry.pingHost( HOST_IP ) );
    doThrow( new RuntimeException() ).when( webClient ).get();
    assertFalse( registry.pingHost( HOST_IP ) );
}