}
//-------------------------------------------------------------------------
@Test(enabled = false, description = "Queries the entire database")
public void test_queryAll() throws Exception {
final ExchangeSearchRequest request = new ExchangeSearchRequest();
request.setPagingRequest(PagingRequest.NONE);
final int total = getExchangeMaster().search(request).getPaging().getTotalItems();
final int pages = (total / PAGE_SIZE) + 1;
for (int page = 1; page <= pages; page++) {
request.setPagingRequest(PagingRequest.ofPage(page, PAGE_SIZE));
System.out.println("Checking exchange master, page " + request.getPagingRequest());
try {
final ExchangeSearchResult result = getExchangeMaster().search(request);
for (final ExchangeDocument doc : result.getDocuments()) {
assertNotNull(doc);
assertNotNull(doc.getUniqueId());