assertEquals(1, result.getDocuments().size());
assertEquals(true, result.getDocuments().contains(doc1));
}
public void test_search_populatedMaster_filterByBundle_both() {
SecuritySearchRequest request = new SecuritySearchRequest();
request.addExternalIds(BUNDLE1);
request.addExternalIds(BUNDLE2);
SecuritySearchResult result = testPopulated.search(request);
assertEquals(2, result.getPaging().getTotalItems());
List<SecurityDocument> docs = result.getDocuments();
assertEquals(2, docs.size());
assertEquals(true, docs.contains(doc1));