public void SelectField_WhenSecondFieldHasBeenSelected_ThenMovementIsFinished()
        {
            BoardField startField = BoardField.Empty;
            Player     player     = new Player(Colors.Cyan);

            startField.Token = new Token(TokenType.Advocate, player);
            BoardField    firstSelectedField  = BoardField.Empty;
            BoardField    secondSelectedField = BoardField.Empty;
            AngleMovement testee = new AngleMovement(startField);

            testee.SelectField(firstSelectedField);
            var result = testee.SelectField(secondSelectedField);

            result.Should().BeTrue();
        }
        public void SelectField_WhenSecondFieldHasBeenSelected_ThenMoveTokenToSecondField()
        {
            Token      token      = new Token(TokenType.Advocate);
            BoardField startField = BoardField.Empty;

            startField.Token = token;

            BoardField    firstSelectedField  = BoardField.Empty;
            BoardField    secondSelectedField = BoardField.Empty;
            AngleMovement testee = new AngleMovement(startField);

            testee.SelectField(firstSelectedField);
            testee.SelectField(secondSelectedField);

            startField.Token.Should().BeNull("start field should not have a token after angle move");
            firstSelectedField.Token.Type.Should().Be(TokenType.Paragraph);
            secondSelectedField.Token.Should().Be(token);
        }
        public void SelectField_WhenFirstFieldHasBeenSelected_ThenParagraphTokenShoulBePlaced()
        {
            Token      token      = new Token(TokenType.Advocate);
            BoardField startField = BoardField.Empty;

            startField.Token = token;

            BoardField    selectedField = BoardField.Empty;
            AngleMovement testee        = new AngleMovement(startField);

            testee.SelectField(selectedField);

            selectedField.Token.Type.Should().Be(TokenType.Paragraph);
        }
        public void SelectField_WhenFirstFieldHasBeenSelected_ThenParagraphTokenShoulBeFromCorrectPlayer()
        {
            Player     player     = new Player(Colors.Cyan);
            Token      token      = new Token(TokenType.Advocate, player);
            BoardField startField = BoardField.Empty;

            startField.Token = token;

            BoardField    selectedField = BoardField.Empty;
            AngleMovement testee        = new AngleMovement(startField);

            testee.SelectField(selectedField);

            selectedField.Token.Player.Should().Be(player);
        }