test_class.declarator: dlg
test_class.modifier: private
test_class.original_string: private User dlg;
test_class.type: User
test_class.var_name: dlg
test_class.declarator: user
test_class.modifier: private
test_class.original_string: private UserImpl user;
test_class.type: UserImpl
test_class.var_name: user
test_class.declarator: impersonationMock = mock(Impersonation.class)
test_class.modifier: private
test_class.original_string: private Impersonation impersonationMock = mock(Impersonation.class);
test_class.type: Impersonation
test_class.var_name: impersonationMock
test_class.file: oak-core/src/test/java/org/apache/jackrabbit/oak/security/user/autosave/UserImplTest.java
test_class.identifier: UserImplTest
test_class.superclass: extends AbstractAutoSaveTest
test_case.body: @Test
      public void testGetImpersonation() throws RepositoryException {
          user.getImpersonation();
          verify(dlg, times(2)).getImpersonation();
          verify(autosaveMgr, never()).autosave();
      }
test_case.class_method_signature: UserImplTest.testGetImpersonation()
test_case.full_signature: @Test public void testGetImpersonation()
test_case.identifier: testGetImpersonation
test_case.invocations: getImpersonation getImpersonation verify times autosave verify never
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetImpersonation()
focal_class.file: oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/autosave/UserImpl.java
focal_class.identifier: UserImpl
focal_class.interfaces: implements User
focal_class.class_method_signature: UserImpl.UserImpl(User dlg, AutoSaveEnabledManager mgr)
focal_class.full_signature:   UserImpl(User dlg, AutoSaveEnabledManager mgr)
focal_class.identifier: UserImpl
focal_class.parameters: (User dlg, AutoSaveEnabledManager mgr)
focal_class.signature:  UserImpl(User dlg, AutoSaveEnabledManager mgr)
focal_class.class_method_signature: UserImpl.getDelegate()
focal_class.full_signature: private User getDelegate()
focal_class.identifier: getDelegate
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: User
focal_class.signature: User getDelegate()
focal_class.class_method_signature: UserImpl.isAdmin()
focal_class.full_signature: @Override public boolean isAdmin()
focal_class.identifier: isAdmin
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isAdmin()
focal_class.class_method_signature: UserImpl.isSystemUser()
focal_class.full_signature: @Override public boolean isSystemUser()
focal_class.identifier: isSystemUser
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isSystemUser()
focal_class.class_method_signature: UserImpl.getCredentials()
focal_class.full_signature: @NotNull @Override public Credentials getCredentials()
focal_class.identifier: getCredentials
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: ()
focal_class.return: Credentials
focal_class.signature: Credentials getCredentials()
focal_class.class_method_signature: UserImpl.getImpersonation()
focal_class.full_signature: @NotNull @Override public Impersonation getImpersonation()
focal_class.identifier: getImpersonation
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: ()
focal_class.return: Impersonation
focal_class.signature: Impersonation getImpersonation()
focal_class.class_method_signature: UserImpl.changePassword(@Nullable String pw)
focal_class.full_signature: @Override public void changePassword(@Nullable String pw)
focal_class.identifier: changePassword
focal_class.modifiers: @Override public
focal_class.parameters: (@Nullable String pw)
focal_class.return: void
focal_class.signature: void changePassword(@Nullable String pw)
focal_class.class_method_signature: UserImpl.changePassword(@Nullable String pw, @NotNull String oldPw)
focal_class.full_signature: @Override public void changePassword(@Nullable String pw, @NotNull String oldPw)
focal_class.identifier: changePassword
focal_class.modifiers: @Override public
focal_class.parameters: (@Nullable String pw, @NotNull String oldPw)
focal_class.return: void
focal_class.signature: void changePassword(@Nullable String pw, @NotNull String oldPw)
focal_class.class_method_signature: UserImpl.disable(@Nullable String msg)
focal_class.full_signature: @Override public void disable(@Nullable String msg)
focal_class.identifier: disable
focal_class.modifiers: @Override public
focal_class.parameters: (@Nullable String msg)
focal_class.return: void
focal_class.signature: void disable(@Nullable String msg)
focal_class.class_method_signature: UserImpl.isDisabled()
focal_class.full_signature: @Override public boolean isDisabled()
focal_class.identifier: isDisabled
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isDisabled()
focal_class.class_method_signature: UserImpl.getDisabledReason()
focal_class.full_signature: @Nullable @Override public String getDisabledReason()
focal_class.identifier: getDisabledReason
focal_class.modifiers: @Nullable @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getDisabledReason()
focal_class.superclass: extends AuthorizableImpl
focal_method.body: @NotNull
      @Override
      public Impersonation getImpersonation() throws RepositoryException {
          return new ImpersonationImpl(getDelegate().getImpersonation());
      }
focal_method.class_method_signature: UserImpl.getImpersonation()
focal_method.full_signature: @NotNull @Override public Impersonation getImpersonation()
focal_method.identifier: getImpersonation
focal_method.invocations: getImpersonation getDelegate
focal_method.modifiers: @NotNull @Override public
focal_method.parameters: ()
focal_method.return: Impersonation
focal_method.signature: Impersonation getImpersonation()