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; }