@Test
public void status451() throws IOException {

    UrlChecker toTest = new UrlChecker();
    GeonetHttpRequestFactory mockResquetFactory = mock(GeonetHttpRequestFactory.class);
    ClientHttpResponse response = createUnknowStatus();
    when(mockResquetFactory.execute(any(HttpUriRequest.class), anyObject())).thenReturn(response);
    toTest.requestFactory = mockResquetFactory;
    LinkStatus linkStatus = toTest.getUrlStatus("dummy");
    assertEquals((451) + "", linkStatus.getStatusValue());
    assertEquals(true, linkStatus.isFailing().booleanValue());
    assertEquals("dummy 451", linkStatus.getStatusInfo());
}