result = routeAndCall(request);
assertRoute(result, "testAccessDocumentsWithoutAuth.get_after_grant", Status.OK, null, false);
//Anonymous user looking for the collection and obtain a list with one record
request = new FakeRequest(GET, getRouteAddress(sFakeCollection));
request = request.withHeader(TestConfig.KEY_APPCODE, TestConfig.VALUE_APPCODE);
request = request.withHeader(HttpHeaders.CONTENT_TYPE, MediaType.APPLICATION_FORM_URLENCODED);
result = routeAndCall(request);
assertRoute(result, "testAccessDocumentsWithoutAuth.get_all", Status.OK, "\"result\":\"ok\",\"data\":[{\"", true);
//since the resource is now available to anonymous users, it should be visible to registered users too issue #195