Пример #1
0
        public void TestSerializeFieldHolder()
        {
            AbstractFieldHolder afh   = new TestFieldHolder();
            AbstractFieldHolder clone = (AbstractFieldHolder)Objects.DeepClone(afh);

            Assert.AreEqual(afh.GetFields(), clone.GetFields());
        }
Пример #2
0
		public void TestSerializeFieldHolder() {
			AbstractFieldHolder afh = new TestFieldHolder();
			AbstractFieldHolder clone = (AbstractFieldHolder)Objects.DeepClone(afh);
			Assert.AreEqual(afh.GetFields(), clone.GetFields());
		}