public void NewObjectTest() { var testObject = new object(); var methodNameArray = GetAllMethodsName.GetMethodNames(testObject); Assert.IsTrue(methodNameArray.Contains("ToString")); }
public void NullTestReturnEmptyArray() { Assert.AreEqual(0, GetAllMethodsName.GetMethodNames(null).Length); }