public void DictionObject_Test()
        {
            ObjectConverter objectConverter = new ObjectConverter();

            objectConverter.RegisterConverter(1, new CreationDictionaryObjectConverter("xtype", new DomainTypeResolver(true)));

            Dictionary <string, object> routeValue = new Dictionary <string, object>();

            routeValue["Name"] = "A";

            Dictionary <string, object> xcat = new Dictionary <string, object>();

            xcat["Name"] = "Q";
            routeValue["RouteObjects"] = xcat;

            RouteValue obj = new RouteValue();

            objectConverter.MapObject(routeValue, obj);

            Assert.IsNotNull(obj.RouteObjects);
            Assert.AreEqual("Q", obj.RouteObjects["Name"]);
        }
        public void DictionObject_Test()
        {
            ObjectConverter objectConverter = new ObjectConverter();
            objectConverter.RegisterConverter(1, new CreationDictionaryObjectConverter("xtype", new DomainTypeResolver(true)));

            Dictionary<string, object> routeValue = new Dictionary<string, object>();
            routeValue["Name"] = "A";

            Dictionary<string, object> xcat = new Dictionary<string, object>();
            xcat["Name"] = "Q";
            routeValue["RouteObjects"] = xcat;

            RouteValue obj = new RouteValue();
            objectConverter.MapObject(routeValue, obj);

            Assert.IsNotNull(obj.RouteObjects);
            Assert.AreEqual("Q", obj.RouteObjects["Name"]);
        }