@Test(expected = NoSuchElementException.class)
public void testEmptyDelegate() {

    List<String> testList = Arrays.asList();
    FilteringIterator<String> iterator = new FilteringIterator<String>(testList.iterator(), noQueryOptions()) {
        @Override
        public boolean isValid(String object, QueryOptions queryOptions) {
            return true;
        }
    };
    iterator.next();
}