public void ToTypeNamePluralTest() { ISpelling spelling = new MySpelling(); Assert.AreEqual("MySpellings", spelling.ToPlural(typeof(MySpelling))); Assert.AreEqual("MySpellings", spelling.ToPlural(typeof(IEnumerable<MySpelling>))); Assert.AreEqual("MySpellings", spelling.ToPlural(typeof(IQueryable<MySpelling>))); Assert.AreEqual("MySpellings", spelling.ToPlural(typeof(IList<MySpelling>))); Assert.AreEqual("MySpellings", spelling.ToPlural(typeof(List<MySpelling>))); }
public void ToTypeNamePluralTest() { ISpelling spelling = new MySpelling(); Assert.AreEqual("MySpellings", spelling.ToPlural(typeof(MySpelling))); Assert.AreEqual("MySpellings", spelling.ToPlural(typeof(IEnumerable <MySpelling>))); Assert.AreEqual("MySpellings", spelling.ToPlural(typeof(IQueryable <MySpelling>))); Assert.AreEqual("MySpellings", spelling.ToPlural(typeof(IList <MySpelling>))); Assert.AreEqual("MySpellings", spelling.ToPlural(typeof(List <MySpelling>))); }