@Test public void testGetGetterName() { String result = methodHelper.getGetterName("testfield"); assertEquals("getTestfield", result); }
public String getGetterName(String name) { String getter = "get" + name.substring(0, 1).toUpperCase() + name.substring(1); return getter; }
MethodHelper { public String getGetterName(String name) { String getter = "get" + name.substring(0, 1).toUpperCase() + name.substring(1); return getter; } }
MethodHelper { public String getGetterName(String name) { String getter = "get" + name.substring(0, 1).toUpperCase() + name.substring(1); return getter; }  }
MethodHelper { public String getGetterName(String name) { String getter = "get" + name.substring(0, 1).toUpperCase() + name.substring(1); return getter; }  String getGetterName(String name); String getIsName(String name); String getSetterName(String name); String getAdderName(String name); String getSingularName(String pluralName); String getPluralName(String singularName); }
MethodHelper { public String getGetterName(String name) { String getter = "get" + name.substring(0, 1).toUpperCase() + name.substring(1); return getter; }  String getGetterName(String name); String getIsName(String name); String getSetterName(String name); String getAdderName(String name); String getSingularName(String pluralName); String getPluralName(String singularName);  }