public void GetPropertyType_NonDelta(string propertyName, bool isDelta, Type expectedPropertyType) { object resource = isDelta ? (object)new Delta <GetPropertyType_TestClass>() : new GetPropertyType_TestClass(); Assert.Equal( expectedPropertyType, DeserializationHelpers.GetPropertyType(resource, propertyName)); }