Beispiel #1
0
 private void UserRegistrationFailed(UserToRegister user) =>
 _userRegistration
 .When(x => x.Register(Arg.Is(RegistrationPredicate(user))))
 .Do(x => throw new Exception());