authenticatorSpy.register(registerUserDto);
UserDto expected = new UserDto();
expected.setEmail("email@email.em");
expected.setUsername("username");
expected.setPassword(realEncryptionService.encryptPassword(password));
verify(authenticatorSpy).registerByPlugin(refEq(expected), eq(true), any(BindingResult.class));
verify(authenticatorSpy).storeRegisteredUser(refEq(expected));
}