@Test
public void should_get_reports_from_property() {

  Settings settings = mock(Settings.class);
  when(settings.getString("sonar.junit.reportsPath")).thenReturn("target/surefire");
  assertThat(SurefireUtils.getReportsDirectory(settings, fs, pathResolver).exists()).isTrue();
  assertThat(SurefireUtils.getReportsDirectory(settings, fs, pathResolver).isDirectory()).isTrue();
}