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