public void AllMethodsShoulReturnMethodsHavingTheCheckBoxName() { IEnumerable <MethodInfo> all = new TestHtmlTag().AllMethods; Assert.That(all.Count(), Is.GreaterThan(0)); Assert.That(all.All(m => m.Name.Equals("CheckBox"))); }
public void AllMethodsShoulReturnMethodsHavingTheCheckBoxName() { IEnumerable<MethodInfo> all = new TestHtmlTag().AllMethods; Assert.That(all.Count(), Is.GreaterThan(0)); Assert.That(all.All(m => m.Name.Equals("CheckBox"))); }