public void OptionObject2015_ReturnOptionObject_AreNotEqual() { List <FieldObject> fieldObjects = new List <FieldObject> { new FieldObject("123", "Test") }; RowObject rowObject = new RowObject("1||1", fieldObjects); FormObject formObject = new FormObject("1", rowObject); OptionObject2015 optionObject = new OptionObject2015("USER00", "userId", "000111", "1", "123456", 1, "UAT", "AVPM", "AVPM", "SERVER", "TOKEN"); optionObject.AddFormObject(formObject); OptionObject2015 returnOptionObject = optionObject.ToReturnOptionObject(); Assert.AreNotEqual(optionObject.ToJson(), returnOptionObject.ToJson()); Assert.IsTrue(optionObject.IsFieldPresent("123")); Assert.IsFalse(returnOptionObject.IsFieldPresent("123")); }