RhinoMocksを使用した部分的なモックに問題があります。
var authentication = (FormsAuthenticationService)_mocks.PartialMock(
typeof(FormsAuthenticationService));
Expect.Call( delegate{ authentication.SetAuthCookie(null, null); }).IgnoreArguments();
..そして「Expect」でNullReferenceExceptionが発生します。ライン..
FormsAuthenticationService
実装するものを追加しますIAuthentication