public void GivenTable_EditedUsingName_ShouldReturnDataRow() { DataRow result = addressBook.EditContactUsingName("Sam Sher", "Address", "kondhwa"); DataRow row = addressBook.AddressBook.NewRow(); row["FirstName"] = "Sam"; row["LastName"] = "Sher"; row["Address"] = "kondhwa"; row["City"] = "Pune"; row["State"] = "State"; row["Zip"] = "111 222"; row["PhoneNumber"] = "91 2837373737"; row["Email"] = "*****@*****.**"; Assert.AreEqual(row[2], result[2]); }