code:     public void setUp() throws Exception {
          SecurityContextHolder.clearContext();
          scimUserProvisioning = mock(ScimUserProvisioning.class);
          codeStore = mock(ExpiringCodeStore.class);
          passwordValidator = mock(PasswordValidator.class);
          clientDetailsService = mock(ClientDetailsService.class);
          emailResetPasswordService = new UaaResetPasswordService(scimUserProvisioning, codeStore, passwordValidator, clientDetailsService);
      }
  
      @After
  