restriction.firstIncluding = true;
restriction.lastIncluding = true;
restriction.propertyName = ORDERED_PROPERTY;
expect(filter.getPropertyRestrictions()).andReturn(ImmutableList.of(restriction))
.anyTimes();
expect(filter.containsNativeConstraint()).andReturn(false).anyTimes();
replay(filter);
assertFalse("In descending order we're expeting to serve this kind of queries",
Double.POSITIVE_INFINITY == index.getCost(filter, root));