public void TestGetMethodModifiers()
        {
            MethodInfo fld = typeof(TestClass).GetMethod("AMethod");
            string     vis = ReflectionEngineUtility.GetMethodModifiers(fld);

            Assert.AreEqual(vis, "override", "Wrong value for modifiers.");

            fld = typeof(TestClass).GetMethod("AMethod1", BindingFlags.Instance | BindingFlags.NonPublic);
            vis = ReflectionEngineUtility.GetMethodModifiers(fld);
            Assert.AreEqual(vis, "virtual", "Wrong value for modifiers.");

            fld = typeof(TestClass).GetMethod("AMethod2",
                                              BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Static);
            vis = ReflectionEngineUtility.GetMethodModifiers(fld);
            Assert.AreEqual(vis, "static", "Wrong value for modifiers.");

            fld = typeof(TestBaseClass).GetMethod("AMethod");
            vis = ReflectionEngineUtility.GetMethodModifiers(fld);
            Assert.AreEqual(vis, "abstract", "Wrong value for modifiers.");
        }
 public void TestGetMethodModifiersFail1()
 {
     ReflectionEngineUtility.GetMethodModifiers(null);
 }