public void PropertyAccessors_SetPropertiesByValueType_ValueToSetIsNull() { var testObj = new PropertyAccessorsTestClass(); Assert.Throws <ArgumentNullException>(() => PropertyAccessors.SetPropertiesByValueType(null, null)); }
public void PropertyAccessors_SetPropertiesByValueType_ContainingObjectIsNull() { Assert.Throws <ArgumentNullException>(() => PropertyAccessors.SetPropertiesByValueType(null, 1)); }