private String password = "";
private UaaUser user;
private String userId = new RandomValueStringGenerator().generate();
private ArgumentCaptor<ApplicationEvent> userArgumentCaptor;
private IdentityProviderProvisioning providerProvisioning;
<BUG>private MultiValueMap<String, String> userAttributes;
private void mockUserDetails(UserDetails userDetails) {</BUG>
when(userDetails.getUsername()).thenReturn(userName);
when(userDetails.getPassword()).thenReturn(password);
when(userDetails.getAuthorities()).thenReturn(null);

private String password = "";
private UaaUser user;
private String userId = new RandomValueStringGenerator().generate();
private ArgumentCaptor<ApplicationEvent> userArgumentCaptor;
private IdentityProviderProvisioning providerProvisioning;
private MultiValueMap<String, String> userAttributes;
private List<String> externalGroups;
private void mockUserDetails(UserDetails userDetails) {
when(userDetails.getUsername()).thenReturn(userName);
when(userDetails.getPassword()).thenReturn(password);
when(userDetails.getAuthorities()).thenReturn(null);
