List<ISearchField> fields = new ArrayList<ISearchField>();
fields.add(allField);
fields.add(attachmentField);
for (ISearchField field : fields) {
SearchSpecifier specifier = (field.getId() == IEntity.ALL_FIELDS) ? SearchSpecifier.CONTAINS_ALL : SearchSpecifier.IS;
ISearchCondition condition = fFactory.createSearchCondition(field, specifier, "hello.mp3");
List<SearchHit<NewsReference>> result = fModelSearch.searchNews(list(condition), false);
assertEquals(1, result.size());