use of org.cloudfoundry.identity.uaa.account.UaaChangePasswordService in project uaa by cloudfoundry.
the class UaaChangePasswordServiceTest method setUp.
@Before
public void setUp() {
SecurityContextHolder.clearContext();
SecurityContextHolder.getContext().setAuthentication(new MockAuthentication());
scimUserProvisioning = mock(ScimUserProvisioning.class);
passwordValidator = mock(PasswordValidator.class);
subject = new UaaChangePasswordService(scimUserProvisioning, passwordValidator);
}
Aggregations