コード例 #1
0
        public void TestGetState()
        {
            string xml = c.GetState();

            Assert.Greater(xml.Length, 0);
            Assert.True(xml.Contains(c.address));
            Console.WriteLine(xml);
        }
コード例 #2
0
        public void TestClone()
        {
            CustomerProps newC = (CustomerProps)c.Clone();

            Assert.AreEqual(newC.GetState(), c.GetState());
        }