Example #1
0
 public void InstanceArgumentNullExceptionTest()
 {
     NuGenObjectDescriptor descriptor = NuGenTypeDescriptor.Instance(null);
 }
Example #2
0
 public void ObjectDescriptorTest()
 {
     Assert.AreEqual(0, _dummyClass.MyProperty);
     NuGenTypeDescriptor.Instance(_dummyClass).Properties["MyProperty"].SetValue(5);
     Assert.AreEqual(5, _dummyClass.MyProperty);
 }