public void TestDeleteAddOn() { deleteAddOn dao = new deleteAddOn(); dao.addOnCode = "1"; String actual = dao.Serialize(); String expected = @" <addOnCode>1</addOnCode>"; Assert.AreEqual(Regex.Replace(expected, @"\s+", String.Empty), Regex.Replace(actual, @"\s+", String.Empty)); }
public void TestDeleteAddOn() { deleteAddOn dao = new deleteAddOn(); dao.addOnCode = "1"; String actual = dao.Serialize(); String expected = @" <addOnCode>1</addOnCode>"; Assert.AreEqual(expected, actual); }
public void TestDeleteAddOn() { var dao = new deleteAddOn(); dao.addOnCode = "1"; var actual = dao.Serialize(); var expected = @" <addOnCode>1</addOnCode>"; Assert.AreEqual(expected, actual); }