.setSorting(new Sorting(ENTITY_NAME_KEY, Sorting.Order.ASC)).build(),
programRecord, datasetRecord);
.setSorting(new Sorting(ENTITY_NAME_KEY, Sorting.Order.ASC)).build(),
datasetRecord, appRecord);
.setSorting(new Sorting(ENTITY_NAME_KEY, Sorting.Order.DESC)).build(),
appRecord, datasetRecord);
.setSorting(new Sorting(ENTITY_NAME_KEY, Sorting.Order.DESC)).build(),
programRecord);
.setSorting(new Sorting(ENTITY_NAME_KEY, Sorting.Order.ASC)).build(),
programRecord);
Assert.assertNotNull(response.getCursor());
response =
assertInOrder(mds, SearchRequest.of("*").addNamespace(ns1).setLimit(1).setCursorRequested(true)
.setCursor(response.getCursor()).setSorting(new Sorting(ENTITY_NAME_KEY, Sorting.Order.ASC))
.build(),
datasetRecord);
response =
assertInOrder(mds, SearchRequest.of("*").addNamespace(ns1).setLimit(1).setCursorRequested(true)
.setCursor(response.getCursor()).setSorting(new Sorting(ENTITY_NAME_KEY, Sorting.Order.ASC))
.build(),
appRecord);
.setSorting(new Sorting(ENTITY_NAME_KEY, Sorting.Order.ASC)).build(),
programRecord, datasetRecord);