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