public void OptionObject_Clone_AreEqual() { List <FieldObject> fieldObjects = new List <FieldObject> { new FieldObject("123", "Test") }; RowObject rowObject = new RowObject("1||1", fieldObjects); FormObject formObject = new FormObject("1", rowObject); OptionObject optionObject = new OptionObject("USER00", "userId", "000111", "1", "123456", 1, "UAT"); optionObject.AddFormObject(formObject); OptionObject cloneOptionObject = optionObject.Clone(); Assert.AreEqual(optionObject, cloneOptionObject); Assert.IsTrue(optionObject.IsFieldPresent("123")); Assert.IsTrue(cloneOptionObject.IsFieldPresent("123")); }