FilterReport { public int getPassed() { return passed; } FilterReport(FilterType filterType, int pass, int fail, List<String> messages); FilterType getFilterType(); List<String> getMessages(); boolean hasMessages(); int getPassed(); int getFailed(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }
@Test public void testGetPassed() { assertThat(instance.getPassed(), equalTo(PASSED)); }