void () { Assert.assertNull(applyFilter()); myCompositeFilter.addFilter(returnNullFilter()); Assert.assertNull(applyFilter()); myCompositeFilter.addFilter(returnContinuingResultFilter()); notNullResultOfSize(applyFilter(), 1); myCompositeFilter.addFilter(returnNullFilter()); myCompositeFilter.addFilter(returnContinuingResultFilter()); notNullResultOfSize(applyFilter(), 2); myCompositeFilter.addFilter(returnNullFilter()); notNullResultOfSize(applyFilter(), 2); myCompositeFilter.addFilter(returnResultFilter()); notNullResultOfSize(applyFilter(), 3); myCompositeFilter.addFilter(returnResultFilter()); notNullResultOfSize(applyFilter(), 3); myCompositeFilter.setForceUseAllFilters(true); notNullResultOfSize(applyFilter(), 4); }