public MessageBoardController(CreateMessageBoardHandler createMessageBoardHandler, GetMessageBoardHandler getMessageBoardHandler) { _createMessageBoardHandler = createMessageBoardHandler; _getMessageBoardHandler = getMessageBoardHandler; }
public void SetUp() { _fakeDb = new Mock <IFakeDbContext <MessageBoard> >(); _createMessageBoardHandler = new CreateMessageBoardHandler(_fakeDb.Object); }