@Test
public void testNextPopulatedWithoutCallingHasNext(){

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