public void ApplayDirectives_ShouldBeDifferenceObject(int plateauX, int plateauY, int roverX, int roverY, char compass, string directives, int expectedX, int expectedY, char expectedCompass) { //Arrange var plateau = new Plateau(plateauX, plateauY); var rover = new Rover(roverX, roverY, compass); rover.SetDirections(directives); var expectRover = new Rover(expectedX, expectedY, expectedCompass); //Act rover.ApplyDirectivesOnSpecifiedPlateau(plateau); // Assert Assert.NotEqual(JsonConvert.SerializeObject(expectRover), JsonConvert.SerializeObject(rover)); }