# Package org.apache.sling.testing.resourceresolver

@Version("2.5.0") package org.apache.sling.testing.resourceresolver
Apache Sling Testing Resource Resolver Mock

Class
Description
DefaultMockResourceFactory
Default factory implementation that always returns a MockResource object
MockFindQueryResources
Allows to provide mocked search result for queries via `ResourceResolver`.
MockFindResourcesHandler
Can provide a result when finding resources using a certain query/language.
MockHelper
Helper class to create resources: MockHelper.create(resolver).resource("/libs").p("prop", "value") .resource("sub").p("sub", "hello") .resource(".sameLevel") .resource("/apps").p("foo", "baa").commit()
MockQueryResourceHandler
Can provide a result when querying for resources using a certain query/language.
MockResource
MockResourceFactory
Implement this interface to customize how MockResource objects are created by the MockResourceResolver
MockResourceProvider
This is a wrapper around `MockResourceResolver` to act as resource provider.
MockResourceResolver
MockResourceResolverFactory
Simple resource resolver factory
MockResourceResolverFactoryOptions
Options for the factory
MockValueMap
ValueMap for mocked resources to mimick JCR-like behavior.