private CRUDMergingResourceProvider provider;
@Before public void setup() throws Exception {
final MockResourceResolverFactoryOptions options = new MockResourceResolverFactoryOptions();
options.setSearchPaths(new String[] {"/apps/", "/libs/"});
final ResourceResolverFactory factory = new MockResourceResolverFactory(options);
<BUG>this.resolver = factory.getAdministrativeResourceResolver(null);
MockHelper.create(this.resolver).resource("/apps")</BUG>
.resource("a").p(MergedResourceConstants.PN_HIDE_CHILDREN, new String[] {"Z", "x", "y"})
.resource("1").p("a", "1").p("b", "2")
.resource(".2").p(ResourceResolver.PROPERTY_RESOURCE_TYPE, "apps")

private CRUDMergingResourceProvider provider;
@Before public void setup() throws Exception {
final MockResourceResolverFactoryOptions options = new MockResourceResolverFactoryOptions();
options.setSearchPaths(new String[] {"/apps/", "/libs/"});
final ResourceResolverFactory factory = new MockResourceResolverFactory(options);
this.resolver = factory.getResourceResolver(null);
MockHelper.create(this.resolver).resource("/apps")
.resource("a").p(MergedResourceConstants.PN_HIDE_CHILDREN, new String[] {"Z", "x", "y"})
.resource("1").p("a", "1").p("b", "2")
.resource(".2").p(ResourceResolver.PROPERTY_RESOURCE_TYPE, "apps")
