@Test
public void should_return_true_if_url_with_properties_exists() throws Exception {

    URL url = new URL("http://localhost:9000");
    when(client.exist(anyString(), any(Class.class))).thenReturn(true);
    assertTrue(sonarDetector.isSonarPropertiesPage(url));
}