List<ISearchField> fields = new ArrayList<ISearchField>();
fields.add(categoryField);
fields.add(authorField);
for (ISearchField field : fields) {
SearchSpecifier specifier = (field == authorField) ? SearchSpecifier.CONTAINS_ALL : SearchSpecifier.IS;
ISearchCondition condition = fFactory.createSearchCondition(field, specifier, "bpasero@bpasero.de");
List<SearchHit<NewsReference>> result = fModelSearch.searchNews(list(condition), false);
assertSame("Field: " + field.getName() + ", Specifier: " + specifier, result, news1);