public void Test_RobotMoveEastCommandAndThenGetReport_ReportReturnedExactNoOfCleanedCount() { // Arrange var positionService = new RobotPositioningContext(); var robotInput = new RobotInput() { InitialPosition = new Position(10, 2) }; var robot = new Robot(robotInput, positionService); robot.AddCommand(new MoveEastCommand(2, positionService)); // Act robot.Run(); var result = robot.Report(); // Assert Assert.AreEqual("=> Cleaned: 3", result); }