order));
List<IndexPlan> plans = index.getPlans(filter, sortOrder, indexed);
assertNotNull(plans);
assertEquals(1, plans.size());
IndexPlan p = plans.get(0);
assertTrue(p.getEstimatedEntryCount() > 0);
assertNotNull(p.getSortOrder());
assertEquals(1, p.getSortOrder().size());
QueryIndex.OrderEntry oe = p.getSortOrder().get(0);
assertNotNull(oe);
assertEquals(ORDERED_PROPERTY, oe.getPropertyName());
assertEquals(QueryIndex.OrderEntry.Order.ASCENDING, oe.getOrder());
}