*** The wcm.io Project is closing down this JIRA Instance in favor of GitHub issues. *** Please use the corresponding GitHub projects to report issues - or the mailing list for general discussion.

Implement mocks for CF#getTemplate, CF#getLastModifiedDate and CF#getLastModifiedDeep

Description

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.

Activity

Show:

Stefan Seifert June 9, 2021 at 6:56 AM

makes sense - can you come up with a PR?

Details

Assignee

Reporter

Components

Priority

Created May 26, 2021 at 12:16 PM
Updated June 9, 2021 at 6:56 AM