Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
To assist in testing code paths that interact with the PrincipalManager and/or UserManager, the MockSession should provide basic mock implementations of those APIs.
Expected:
- A new MockUserManager provides a basic implementation of the UserManager interface
- A new MockPrincipalManager provides a basic implementation of the PrincipalManager interface
- MockSession should implement JackrabbitSession
- MockSession#getUserManager returns an instance of MockUserManager
- MockSession#getPrincipalManager returns an instance of MockPrincipalManager
Attachments
Issue Links
- links to