예제 #1
0
        public CreateSessionTest()
        {
            _readSessionRepository  = A.Fake <IReadSessionRepository>();
            _writeSessionRepository = A.Fake <IWriteSessionRepository>();

            _command = new CreateSession(_readSessionRepository, _writeSessionRepository);
        }
예제 #2
0
 public CreateSession(IReadSessionRepository readSessionRepository, IWriteSessionRepository writeSessionRepository)
 {
     _readSessionRepository  = readSessionRepository;
     _writeSessionRepository = writeSessionRepository;
 }