query.addProperty("bar/d", "e", null);
query.addProperty("category", "", null);
expect(request.getQueryPredicate()).andReturn(predicate);
query.setUserPredicate(predicate);
expect(query.execute()).andReturn(result);
result.setResultStatus(capture(resultStatusCapture));
replay(request, resource, query, predicate, result);
//test