public void Unit_Method2() { try { DocumentationFilter.Method(typeof(Tests), "MethodTest2", "(System.Int32,System.IO.Stream)"); Assert.Fail(); } catch (System.Exception) { } }
public void Unit_Method3() { try { DocumentationFilter.Method(typeof(Tests), "MethodTest1", "(System.String,System.NullReferenceException)"); Assert.Fail(); } catch (System.Exception) { } }
public void Unit_Method() { var actual = DocumentationFilter.Method(typeof(Tests), "MethodTest1", "(System.Int32,System.IO.Stream)"); Assert.AreEqual(true, actual); }