@Test(expected = ListenerReadOnlyException.class) public void testROChangePassword() throws Exception { User delegate = mock(User.class); UserFacade facade = getFacade(delegate); facade.changePassword(""); }
@Override public void changePassword(final String password) throws RepositoryException { throw new ListenerReadOnlyException(); }
UserFacade extends AuthorizableFacade<User> implements User { @Override public void changePassword(final String password) throws RepositoryException { throw new ListenerReadOnlyException(); } }
UserFacade extends AuthorizableFacade<User> implements User { @Override public void changePassword(final String password) throws RepositoryException { throw new ListenerReadOnlyException(); } @SuppressWarnings("WeakerAccess")  UserFacade(final @NotNull User delegate); }
UserFacade extends AuthorizableFacade<User> implements User { @Override public void changePassword(final String password) throws RepositoryException { throw new ListenerReadOnlyException(); } @SuppressWarnings("WeakerAccess")  UserFacade(final @NotNull User delegate); @Override boolean isAdmin(); @Override boolean isSystemUser(); @Override Credentials getCredentials(); @Override Impersonation getImpersonation(); @Override boolean isDisabled(); @Override String getDisabledReason(); @Override void disable(final String reason); @Override void changePassword(final String password); @Override void changePassword(final String password, final String oldPassword); }
UserFacade extends AuthorizableFacade<User> implements User { @Override public void changePassword(final String password) throws RepositoryException { throw new ListenerReadOnlyException(); } @SuppressWarnings("WeakerAccess")  UserFacade(final @NotNull User delegate); @Override boolean isAdmin(); @Override boolean isSystemUser(); @Override Credentials getCredentials(); @Override Impersonation getImpersonation(); @Override boolean isDisabled(); @Override String getDisabledReason(); @Override void disable(final String reason); @Override void changePassword(final String password); @Override void changePassword(final String password, final String oldPassword);  }