MethodHelper { public String getSingularName(String pluralName) { String singular = inflector.singularize(pluralName); return singular; }  String getGetterName(String name); String getIsName(String name); String getSetterName(String name); String getAdderName(String name); String getSingularName(String pluralName); String getPluralName(String singularName);  }
@Test public void testGetSingularName() { String result1 = methodHelper.getSingularName("addresses"); assertEquals("address", result1); String result2 = methodHelper.getSingularName("persons"); assertEquals("person", result2); String result3 = methodHelper.getSingularName("companies"); assertEquals("company", result3); }