public void GetCommand_InvalidPlaceCommand_Equal()
        {
            // arrange
            string[] Input = "PLACEMOVE".Split(' ');
            ToyRobot robot = new ToyRobot(new TableSurface(5, 5));

            // act and assert
            var ex = Assert.Throws <ApplicationException>(delegate { robot.GetCommand(Input); });

            Assert.That(ex.Message, Is.EqualTo("Command Unknown.  Please try again."));
        }
        public void GetCommand_ValidPlaceCommand_Equal()
        {
            // arrange
            string[] Input = "PLACE".Split(' ');
            ToyRobot robot = new ToyRobot(new TableSurface(5, 5));

            // act
            var command = robot.GetCommand(Input);

            // assert
            Assert.AreEqual(ToyRobot.Command.PLACE, command);
        }