@Test public void getEmptyTagStatsTest() { List<Report> reports = new ArrayList<>(); allTagsPageCollection = new AllTagsPageCollection(reports, ""); Map<Tag, ResultCount> tagStats = allTagsPageCollection.getTagResultCounts(); assertThat(tagStats.size(), is(0)); }
public Map<Tag, ResultCount> getTagResultCounts() { return tagResultCounts; }
AllTagsPageCollection extends ScenarioSummaryPageCollection { public Map<Tag, ResultCount> getTagResultCounts() { return tagResultCounts; } }
AllTagsPageCollection extends ScenarioSummaryPageCollection { public Map<Tag, ResultCount> getTagResultCounts() { return tagResultCounts; } AllTagsPageCollection(List<Report> reports, final String pageTitle); }
AllTagsPageCollection extends ScenarioSummaryPageCollection { public Map<Tag, ResultCount> getTagResultCounts() { return tagResultCounts; } AllTagsPageCollection(List<Report> reports, final String pageTitle); Map<Tag, ResultCount> getTagResultCounts(); Set<Tag> getTags(); int getTotalNumberOfTags(); }
AllTagsPageCollection extends ScenarioSummaryPageCollection { public Map<Tag, ResultCount> getTagResultCounts() { return tagResultCounts; } AllTagsPageCollection(List<Report> reports, final String pageTitle); Map<Tag, ResultCount> getTagResultCounts(); Set<Tag> getTags(); int getTotalNumberOfTags();  }