I've a problem with partial mocking using Rhino Mocks:
var authentication = (FormsAuthenticationService)_mocks.PartialMock(
typeof(FormsAuthenticationService));
Expect.Call( delegate{ authentication.SetAuthCookie(null, null); }).IgnoreArguments();
..and I get NullReferenceException on "Expect." line..
I will just add that FormsAuthenticationService
implements IAuthentication