_posMaster.search(request);
}
@Test
public void test_search_positionAndTradeIds_matchSome() {
PositionSearchRequest request = new PositionSearchRequest();
request.addPositionObjectId(ObjectId.of("DbPos", "120"));
request.addPositionObjectId(ObjectId.of("DbPos", "122"));
request.addTradeObjectId(ObjectId.of("DbPos", "402"));
request.addTradeObjectId(ObjectId.of("DbPos", "403"));
request.addTradeObjectId(ObjectId.of("DbPos", "407"));
PositionSearchResult test = _posMaster.search(request);
assertEquals(1, test.getDocuments().size());
assert122(test.getDocuments().get(0));
}