Interface MockResourceFactory

  • All Known Implementing Classes:
    DefaultMockResourceFactory

    public interface MockResourceFactory
    Implement this interface to customize how MockResource objects are created by the MockResourceResolver
    • Method Detail

      • newMockResource

        org.apache.sling.api.resource.Resource newMockResource​(String path,
                                                               Map<String,​Object> properties,
                                                               org.apache.sling.api.resource.ResourceResolver resolver)