FortifySensorConfiguration implements BatchExtension { public String getReportPath() { return this.settings.getString(FortifyConstants.REPORT_PATH_PROPERTY); } FortifySensorConfiguration(RulesProfile profile, Settings settings); boolean isActive(Collection<String> languages); String getReportPath();  }
@Test public void testGetReportPath() { when(this.settings.getString(FortifyConstants.REPORT_PATH_PROPERTY)).thenReturn("location"); assertThat(this.fortifySensorConfiguration.getReportPath()).isEqualTo("location"); }