Пример #1
0
            public void ReturnsProperResultsForExceptions()
            {
                CustomPluralizedMapper <Foo> m = GetMapper <Foo>();

                m.Table("Person");
                Assert.AreEqual("People", m.TableName);
            }
Пример #2
0
            public void ReturnsProperPluralization()
            {
                CustomPluralizedMapper <Foo> m = GetMapper <Foo>();

                m.Table("Dog");
                Assert.AreEqual("Dogs", m.TableName);
            }