public CreateSessionTest()
        {
            _readSessionRepository  = A.Fake <IReadSessionRepository>();
            _writeSessionRepository = A.Fake <IWriteSessionRepository>();

            _command = new CreateSession(_readSessionRepository, _writeSessionRepository);
        }
 public CreateSession(IReadSessionRepository readSessionRepository, IWriteSessionRepository writeSessionRepository)
 {
     _readSessionRepository  = readSessionRepository;
     _writeSessionRepository = writeSessionRepository;
 }
        public GetSessionTest()
        {
            _readSessionRepository = A.Fake <IReadSessionRepository>();

            _command = new GetSession(_readSessionRepository);
        }
 public GetCurrentSessionForPlayer(IReadSessionRepository readSessionRepository)
 {
     _readSessionRepository = readSessionRepository;
 }
        public GetCurrentSessionForPlayerTest()
        {
            _readSessionRepository = A.Fake <IReadSessionRepository>();

            _command = new GetCurrentSessionForPlayer(_readSessionRepository);
        }
Exemple #6
0
 public GetSession(IReadSessionRepository readSessionRepository)
 {
     _readSessionRepository = readSessionRepository;
 }