public void SetUp() { _nancySessionFromNancyContextResolver = _nancySessionFromNancyContextResolver.Fake(); _invoiceGenIdentityFactory = _invoiceGenIdentityFactory.Fake(); _sut = new NancySecurityContextFactory(_nancySessionFromNancyContextResolver, _invoiceGenIdentityFactory); }