Exemplo n.º 1
0
        public CreateSessionTest()
        {
            _readSessionRepository  = A.Fake <IReadSessionRepository>();
            _writeSessionRepository = A.Fake <IWriteSessionRepository>();

            _command = new CreateSession(_readSessionRepository, _writeSessionRepository);
        }
Exemplo n.º 2
0
 public CreateSession(IReadSessionRepository readSessionRepository, IWriteSessionRepository writeSessionRepository)
 {
     _readSessionRepository  = readSessionRepository;
     _writeSessionRepository = writeSessionRepository;
 }