//-------------------------------------------------------------------------
@Test
public void test_search_type() {
SecuritySearchRequest request = new SecuritySearchRequest();
request.setSecurityType("EQUITY");
SecuritySearchResult test = _secMaster.search(request);
assertEquals(3, test.getDocuments().size());
SecurityDocument doc0 = test.getDocuments().get(0);
SecurityDocument doc1 = test.getDocuments().get(1);
SecurityDocument doc2 = test.getDocuments().get(2);
assertEquals(UniqueId.of("DbSec", "101", "0"), doc0.getUniqueId());
assertEquals(UniqueId.of("DbSec", "102", "0"), doc1.getUniqueId());
assertEquals(UniqueId.of("DbSec", "201", "1"), doc2.getUniqueId());
}