public void TestGetTypeModifiers() { string vis = ReflectionEngineUtility.GetTypeModifiers(typeof(TestBaseClass)); Assert.AreEqual(vis, "abstract", "Wrong value for modifiers."); vis = ReflectionEngineUtility.GetTypeModifiers(typeof(TestClassSealed)); Assert.AreEqual(vis, "sealed", "Wrong value for modifiers."); }
public void TestGetTypeModifiersFail1() { ReflectionEngineUtility.GetTypeModifiers(null); }