final RootResourceProviderEntry rrp = new RootResourceProviderEntry();
final Map<String, Object> props = new HashMap<String, Object>();
props.put(Constants.SERVICE_ID, System.currentTimeMillis());
props.put(ResourceProvider.ROOTS, "/");
props.put(QueriableResourceProvider.LANGUAGES, QUERY_LANGUAGE);
rrp.bindResourceProvider(provider, props);
final CommonResourceResolverFactoryImpl crf = new CommonResourceResolverFactoryImpl(new ResourceResolverFactoryActivator()) {
@Override
public ResourceDecoratorTracker getResourceDecoratorTracker() {
return t;