示例#1
0
 public void Init()
 {
     _mockDealerService    = new Mock <IDealerService>(MockBehavior.Strict);
     _mockPlayerService    = new Mock <IPlayerService>(MockBehavior.Strict);
     _mockGameRoundService = new Mock <IGameRoundService>(MockBehavior.Strict);
     _warGameController    = new WarGameController(_mockDealerService.Object, _mockPlayerService.Object, _mockGameRoundService.Object);
 }
示例#2
0
 public ConsoleGameView(IWarGameController warGameController)
 {
     _warGameController = warGameController;
 }