コード例 #1
0
        public void TestCollectionHandler()
        {
            Serializer     s      = new Serializer("TestCollectionHandlers");
            MockCollection coll   = new MockCollection("test");
            string         result = s.Serialize(coll);
            MockCollection actual = s.Deserialize <MockCollection>(result);

            Assert.AreEqual(coll.Value(), actual.Value(), "MockCollectionHandler not configured correctly");
        }