예제 #1
0
        public void NewObjectTest()
        {
            var testObject      = new object();
            var methodNameArray = GetAllMethodsName.GetMethodNames(testObject);

            Assert.IsTrue(methodNameArray.Contains("ToString"));
        }
예제 #2
0
 public void NullTestReturnEmptyArray()
 {
     Assert.AreEqual(0, GetAllMethodsName.GetMethodNames(null).Length);
 }