@Test public void testNotExists() { FortifySensorConfiguration configuration = mock(FortifySensorConfiguration.class); when(configuration.getReportPath()).thenReturn(null); FortifyReportFile fortifyReportFile = new FortifyReportFile(configuration, this.fs); assertFalse(fortifyReportFile.exist()); }
boolean exist() { File report = getReportFromProperty(); return report != null; }
FortifyReportFile { boolean exist() { File report = getReportFromProperty(); return report != null; } }
FortifyReportFile { boolean exist() { File report = getReportFromProperty(); return report != null; } FortifyReportFile(FortifySensorConfiguration configuration, FileSystem fileSystem); }
FortifyReportFile { boolean exist() { File report = getReportFromProperty(); return report != null; } FortifyReportFile(FortifySensorConfiguration configuration, FileSystem fileSystem);  }
FortifyReportFile { boolean exist() { File report = getReportFromProperty(); return report != null; } FortifyReportFile(FortifySensorConfiguration configuration, FileSystem fileSystem);   }