private void SetupController()
 {
     mockHyperMediaFactory = new Mock <IHyperMediaFactory>();
     mockMediator          = new Mock <IMediator>();
     controller            = new BoardTaskController(
         mockHyperMediaFactory.Object,
         mockMediator.Object);
 }
Ejemplo n.º 2
0
 private void SetupController()
 {
     mockCommandDispatcher = new Mock <ICommandDispatcher>();
     mockQueryDispatcher   = new Mock <IQueryDispatcher>();
     mockHyperMediaFactory = new Mock <IHyperMediaFactory>();
     controller            = new BoardTaskController(
         mockCommandDispatcher.Object,
         mockQueryDispatcher.Object,
         mockHyperMediaFactory.Object);
 }