Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
we want to provide the Sling ResourceBuilder as alternative way in sling mock to simply create test resources.
currently sling mocks supports it's own "ContentBuilder" via the create() method on the context.
a new method build() should be added which provides a preconfigred ResourceBuilder instance for the current resource resolver.
alternatively the ResourceResolverFactory service can be accessed directly form the test code.
Attachments
Issue Links
- relates to
-
SLING-5356 New ResourceBuilder module - fluent API to create content structures
- Closed
- links to