public void SetUp()
 {
     _nancySessionFromNancyContextResolver = _nancySessionFromNancyContextResolver.Fake();
     _voterIdentityFactory = _voterIdentityFactory.Fake();
     _nancyContext         = new NancyContext();
     _sut = new NancySecurityContext(_nancyContext, _nancySessionFromNancyContextResolver, _voterIdentityFactory);
 }
 public void SetUp()
 {
     _nancySessionFromNancyContextResolver = _nancySessionFromNancyContextResolver.Fake();
     _userFromSessionResolver = _userFromSessionResolver.Fake();
     _voterIdentityFactory    = _voterIdentityFactory.Fake();
     _sut = new NancyIdentityFromContextAssigner(
         _nancySessionFromNancyContextResolver,
         _userFromSessionResolver,
         _voterIdentityFactory);
     _context = new NancyContext();
 }
 public void SetUp()
 {
     _nancySessionFromNancyContextResolver = _nancySessionFromNancyContextResolver.Fake();
     _invoiceGenIdentityFactory            = _invoiceGenIdentityFactory.Fake();
     _sut = new NancySecurityContextFactory(_nancySessionFromNancyContextResolver, _invoiceGenIdentityFactory);
 }