J'ai un problème avec mock partiel en utilisant Rhino Mocks:attentes sur partielle Mock - Exception NullReference
var authentication = (FormsAuthenticationService)_mocks.PartialMock(
typeof(FormsAuthenticationService));
Expect.Call(delegate{ authentication.SetAuthCookie(null, null); }).IgnoreArguments();
..et je reçois NullReferenceException sur "Attendez-vous." ligne ..
Je vais simplement ajouter que FormsAuthenticationService
implémente IAuthentication