@Test public void testGetSetterName() { String result = methodHelper.getSetterName("testfield"); assertEquals("setTestfield", result); }
public String getSetterName(String name) { String setter = "set" + name.substring(0, 1).toUpperCase() + name.substring(1); return setter; }
MethodHelper { public String getSetterName(String name) { String setter = "set" + name.substring(0, 1).toUpperCase() + name.substring(1); return setter; } }
MethodHelper { public String getSetterName(String name) { String setter = "set" + name.substring(0, 1).toUpperCase() + name.substring(1); return setter; }  }
MethodHelper { public String getSetterName(String name) { String setter = "set" + name.substring(0, 1).toUpperCase() + name.substring(1); return setter; }  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 getSetterName(String name) { String setter = "set" + name.substring(0, 1).toUpperCase() + name.substring(1); return setter; }  String getGetterName(String name); String getIsName(String name); String getSetterName(String name); String getAdderName(String name); String getSingularName(String pluralName); String getPluralName(String singularName);  }