public void Command_ResultsInCorrectOrientation(CommandTestCaseData testCase) { // arrange IRobot robot = new Robot(0, 0, testCase.StartOrientation, fiveByFiveGrid); // act testCase.Command.Invoke(robot); // assert Assert.That(robot.Orientation, Is.EqualTo(testCase.ExpectedOrientation)); }