Searcher s = new IndexSearcher(this.reader);
Query q = new TermQuery(new Term(fieldFeedId,feedID));
Hits hits = s.search(q);
assertEquals(2,hits.length());
hits = s.search(q,new ModifiedEntryFilter(this.excludeList.toArray(new String[0]),StorageEntryWrapper.FIELD_ENTRY_ID));
assertEquals(1,hits.length());
this.excludeList.add("2");
hits = s.search(q,new ModifiedEntryFilter(this.excludeList.toArray(new String[0]),StorageEntryWrapper.FIELD_ENTRY_ID));
assertEquals(0,hits.length());
this.excludeList.add(null);
this.excludeList.add("5");
hits = s.search(q,new ModifiedEntryFilter(this.excludeList.toArray(new String[0]),StorageEntryWrapper.FIELD_ENTRY_ID));
assertEquals(0,hits.length());
}