Пример #1
0
        public void TestGetState()
        {
            string xml = p.GetState();

            Assert.True(xml.Length > 0);
            Assert.True(xml.Contains(p.City));
            Console.WriteLine(xml);
        }
Пример #2
0
        public void TestSetState()
        {
            string xml = p.GetState();

            p1.SetState(xml);

            Assert.True(xml == p1.GetState());
        }