test_class.declarator: sonarDetector
test_class.modifier: @InjectMocks
test_class.original_string: @InjectMocks
      SonarDetector sonarDetector;
test_class.type: SonarDetector
test_class.var_name: sonarDetector
test_class.declarator: client
test_class.modifier: @Mock
test_class.original_string: @Mock
      GenericSoftwareClient client;
test_class.type: GenericSoftwareClient
test_class.var_name: client
test_class.file: component/core/src/test/java/fr/norad/visuwall/plugin/sonar/SonarDetectorTest.java
test_class.identifier: SonarDetectorTest
test_case.body: @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));
      }
test_case.class_method_signature: SonarDetectorTest.should_return_true_if_url_with_properties_exists()
test_case.full_signature: @Test public void should_return_true_if_url_with_properties_exists()
test_case.identifier: should_return_true_if_url_with_properties_exists
test_case.invocations: thenReturn when exist anyString any assertTrue isSonarPropertiesPage
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void should_return_true_if_url_with_properties_exists()
focal_class.declarator: client = new GenericSoftwareClient()
focal_class.modifier: private
focal_class.original_string: private GenericSoftwareClient client = new GenericSoftwareClient();
focal_class.type: GenericSoftwareClient
focal_class.var_name: client
focal_class.file: component/core/src/main/java/fr/norad/visuwall/plugin/sonar/SonarDetector.java
focal_class.identifier: SonarDetector
focal_class.class_method_signature: SonarDetector.isSonarPropertiesPage(URL url)
focal_class.full_signature: public boolean isSonarPropertiesPage(URL url)
focal_class.identifier: isSonarPropertiesPage
focal_class.modifiers: public
focal_class.parameters: (URL url)
focal_class.return: boolean
focal_class.signature: boolean isSonarPropertiesPage(URL url)
focal_class.class_method_signature: SonarDetector.isSonarWelcomePage(URL url)
focal_class.full_signature: public boolean isSonarWelcomePage(URL url)
focal_class.identifier: isSonarWelcomePage
focal_class.modifiers: public
focal_class.parameters: (URL url)
focal_class.return: boolean
focal_class.signature: boolean isSonarWelcomePage(URL url)
focal_class.class_method_signature: SonarDetector.buildPropertiesUrl(URL url)
focal_class.full_signature: public String buildPropertiesUrl(URL url)
focal_class.identifier: buildPropertiesUrl
focal_class.modifiers: public
focal_class.parameters: (URL url)
focal_class.return: String
focal_class.signature: String buildPropertiesUrl(URL url)
focal_method.body: public boolean isSonarPropertiesPage(URL url) {
          return client.exist(buildPropertiesUrl(url), Properties.class);
      }
focal_method.class_method_signature: SonarDetector.isSonarPropertiesPage(URL url)
focal_method.full_signature: public boolean isSonarPropertiesPage(URL url)
focal_method.identifier: isSonarPropertiesPage
focal_method.invocations: exist buildPropertiesUrl
focal_method.modifiers: public
focal_method.parameters: (URL url)
focal_method.return: boolean
focal_method.signature: boolean isSonarPropertiesPage(URL url)