public void SetUp() { _board = new Mock <IBoard>(); _ruleFactory = new Mock <IRuleFactory <MoveInfo> >(); _sut = new MoveValidator(_board.Object, _ruleFactory.Object); }
public Engine(IBoard board, IMoveVlidator validator) { _board = board; _validator = validator; _currentPlayer = Player.Black; }