public void ReturnsProperPluralizationWhenWordWithFe() { PluralizedAutoClassMapper <Foo> m = GetMapper <Foo>(); m.Table("leaf"); Assert.AreEqual("leaves", m.TableName); }
public void ReturnsProperPluralizationWhenWordContainsFe() { PluralizedAutoClassMapper <Foo> m = GetMapper <Foo>(); m.Table("effect"); Assert.AreEqual("effects", m.TableName); }
public void ReturnsProperPluralizationWhenWordEndsWithS() { PluralizedAutoClassMapper <Foo> m = GetMapper <Foo>(); m.Table("mess"); Assert.AreEqual("messes", m.TableName); }
public void ReturnsProperPluralization() { PluralizedAutoClassMapper <Foo> m = GetMapper <Foo>(); m.Table("robot"); Assert.AreEqual("robots", m.TableName); }
public void ReturnsProperPluralizationWhenWordIsUnpluralizable() { PluralizedAutoClassMapper <Foo> m = GetMapper <Foo>(); m.Table("equipment"); Assert.AreEqual("equipment", m.TableName); }
public void ReturnsProperPluralizationWhenWordContainsF() { PluralizedAutoClassMapper <Foo> m = GetMapper <Foo>(); m.Table("profile"); Assert.Equal("profiles", m.TableName); }
public void ReturnsProperPluralizationWhenWordEndsWithY() { PluralizedAutoClassMapper <Foo> m = GetMapper <Foo>(); m.Table("penny"); Assert.Equal("pennies", m.TableName); }