Implement mocks for CF#getTemplate, CF#getLastModifiedDate and CF#getLastModifiedDeep
Description
Activity
Show:
Stefan Seifert June 9, 2021 at 6:56 AM
makes sense - can you come up with a PR?
Details
Details
Assignee
Unassigned
UnassignedReporter

Components
Priority
Created May 26, 2021 at 12:16 PM
Updated June 9, 2021 at 6:56 AM
MockContentFragment already mocks a lot of the ContentFragment's API. This improvement is about adding support for
ContentFragment#getTemplate()
ContentFragment#getLastModifiedDate()
ContentFragment#getLastModifiedDeep()
This also requires a mock implementation of the FragmentTemplate interface.
It should also provide some convenience methods to create structured ContentFragments with FragmentTemplates from the ContentBuilder.