public void addMT_TyPeTest() { TP tp = new TP(); Assert.AreEqual(0, tp.methods.Count); tp.addMT(tp.GetType().GetMethods()[0]); Assert.AreEqual(1, tp.methods.Count); }