public void TestGetState() { string xml = p.GetState(); Assert.True(xml.Length > 0); Assert.True(xml.Contains(p.City)); Console.WriteLine(xml); }
public void TestSetState() { string xml = p.GetState(); p1.SetState(xml); Assert.True(xml == p1.GetState()); }