}
@Test
public void testProjectionQueryOperatingOnlyOnASinglePropertyDoesNotRequireConfiguredIndex() throws Exception {
executeQuery(new Query("Unindexed")
.addProjection(new PropertyProjection("someProperty", null)));
executeQuery(new Query("Unindexed")
.addProjection(new PropertyProjection("someProperty", null))
.setFilter(new Query.FilterPredicate("someProperty", GREATER_THAN, "a")));
executeQuery(new Query("Unindexed")
.addProjection(new PropertyProjection("someProperty", null))
.setFilter(new Query.FilterPredicate("someProperty", GREATER_THAN, "a"))
.addSort("someProperty"));
executeQuery(new Query("Unindexed")
.addProjection(new PropertyProjection("someProperty", null))
.setFilter(new Query.FilterPredicate("someProperty", GREATER_THAN, "a"))
.addSort("someProperty", Query.SortDirection.DESCENDING));
}