ODataUtils { public static QueryTask toQuery(Operation op, boolean validate) { return toQuery(op, validate, Collections.emptySet()); } private  ODataUtils(); static QueryTask toQuery(Operation op, boolean validate); static QueryTask toQuery(Operation op, boolean validate, Set<String> wildcardFilterUnfoldPropertyNames); static final String FILTER_VALUE_ALL_FIELDS; }
@Test public void testTenantLinksInODataQuery() { Operation inputOp = new Operation(); URI queryUri = UriUtils.buildUri("foo.com", 80, "/", "$tenantLinks=/links/foo, bar"); inputOp.setUri(queryUri); QueryTask resultTask = ODataUtils.toQuery(inputOp, true); assertTrue(resultTask.tenantLinks.contains("/links/foo")); assertTrue(resultTask.tenantLinks.contains("bar")); }