public void Parameters() { var proc = new TestingAttribute(); var prop = proc.Parameters(); Assert.AreEqual(1, prop.Count()); Assert.AreEqual("TestMethod", prop.ElementAt(0)); }
public void GetProperties() { var obj = new TestingAttribute(); var prop = obj.GetProperties(); Assert.AreEqual(1, prop.Count()); Assert.AreEqual("TestMethod", prop.ElementAt(0).Name); }