Пример #1
0
        public void SetterAndGetter_ByInit_Should_OK()
        {
            var nbJsonSerialize = ResolveSerialize();

            _dynamicHashModel = DynamicHashDictionary.Init("Foo", "BAR");
            CheckInitIncludeProperties(nbJsonSerialize);
        }
Пример #2
0
 public void IncludeProperties_Twice_Should_Ex()
 {
     AssertHelper.ShouldThrows <InvalidOperationException>(() =>
     {
         _dynamicHashModel = DynamicHashDictionary.Init("Foo", "BAR");
         _dynamicHashModel.InitIncludeProperties("*");
     });
 }