Exemplo n.º 1
0
        public void CanGetDtoInstanceForDictionary()
        {
            dynamic val = Dto.InstanceFor("TestType", GetTestDictionary());

            Expect.IsNotNull(val);
            Expect.AreEqual(9, val.PropTwo);
            Expect.AreEqual("Hello", val.PropThree);
            OutLine(val.PropOne.ToString());
            OutLine(val.PropTwo.ToString());
            OutLine(val.PropThree.ToString());
            Pass("dtoInstanceFor");
        }