Eric Norman created SLING-11830:
-----------------------------------

             Summary: Provide a  basic MockPrincipalManager and MockUserManager
                 Key: SLING-11830
                 URL: https://issues.apache.org/jira/browse/SLING-11830
             Project: Sling
          Issue Type: Improvement
          Components: Testing
            Reporter: Eric Norman
            Assignee: Eric Norman
             Fix For: Testing JCR Mock 1.6.8


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

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to