@Test public final void getAllProblemReportsFromTheDatabase() { List<ProblemReport> reports = getAllProblemReports(); assertNotNull(reports); assertFalse(reports.isEmpty()); assertEquals(5, reports.size()); }
public static List<ProblemReport> getAllProblemReports() { return database; }
ProblemReportDB { public static List<ProblemReport> getAllProblemReports() { return database; } }
ProblemReportDB { public static List<ProblemReport> getAllProblemReports() { return database; }  }
ProblemReportDB { public static List<ProblemReport> getAllProblemReports() { return database; }  static ProblemReport findProblemReport(String reportNumber); static List<ProblemReport> getAllProblemReports(); static List<ProblemReport> getFavoriteProblemReports(); static List<ProblemReport> findAllProblemReports(String correlationId); static void deleteProblemReport(String reportNumber); }
ProblemReportDB { public static List<ProblemReport> getAllProblemReports() { return database; }  static ProblemReport findProblemReport(String reportNumber); static List<ProblemReport> getAllProblemReports(); static List<ProblemReport> getFavoriteProblemReports(); static List<ProblemReport> findAllProblemReports(String correlationId); static void deleteProblemReport(String reportNumber);  }