### Question:
ResultsStore { public Integer count() { return results.size(); }  void store(List<ResultType> results); void clear(); Integer count(); List<ResultType> list(); List<ResultType> subList(String sortProperty, boolean ascending,
                                  int start, int end);  }### Answer:
@Test public void testCount() { List<InclusionDependencyResult> expectedResults = new ArrayList<>(); expectedResults.add(ind1); expectedResults.add(ind2); InclusionDependencyResultsStore resultsStore = new InclusionDependencyResultsStore(); resultsStore.store(expectedResults); int count = resultsStore.count(); assertEquals(expectedResults.size(), count); }