public void TestGetPropertyModifiers() { PropertyInfo fld = typeof(TestClass).GetProperty("AProperty"); string vis = ReflectionEngineUtility.GetPropertyModifiers(fld); Assert.AreEqual(vis, "virtual read-write", "Wrong value for visibility."); }
public void TestGetPropertyModifiersFail1() { ReflectionEngineUtility.GetPropertyModifiers(null); }