Example #1
0
        public void ActionCallsTileSelect()
        {
            var mockController   = new Mock <IController>();
            var position         = new Coordinate(3, 5);
            var tileSelectAction = new TileSelect(mockController.Object, position);

            tileSelectAction.Execute();

            mockController.Verify(controller => controller.SelectTile(position), Times.Once());
        }