FilterReport { public int getFailed() { return failed; } 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 testGetFailed() { assertThat(instance.getFailed(), equalTo(FAILED)); }