LPS-49771 Add failsafe mechanisms
LPS-49771 Creating separate mock classes - private class is not suitable because the PortletDataContextReferencesTest is partially about serializing the tested entities, and the private class will imply the serialization of the container class as well
LPS-49771 Decouple the PortletDataContextReferencesTest from the bookmarks portlet
LPS-49771 Renaming element variables for naming consistency
LPS-49771 Decoupling PermissionExportImportTest from bookmarks
LPS-49771 move
LPS-49619 SF
LPS-49458 fix xss