public void GetToyRobotState_ReadState_CorrectValues() { //Arrange var currentPosition = new Position(1, 2); ICardinalDirectionManager cardinalDirectionManager = new NorthManager(); var toyRobotManager = new ToyRobot(currentPosition, cardinalDirectionManager, new ReportManager()); //Act ToyRobotState toyRobotState = toyRobotManager.GetState(); //Assert Assert.AreEqual(1, toyRobotState.X); Assert.AreEqual(2, toyRobotState.Y); Assert.AreEqual(CardinalDirection.NORTH, toyRobotState.CardinalDirection); }