@Test public void testCreateSaveString() { String s = h.getStringForAttr("name", "Jack"); assertEquals("4 name4 Jack", s); }
public String getStringForAttr(String attrName, String content) { return attrName.length() + " " + attrName + content.length() + " " + content; }
SaverLoaderHelper { public String getStringForAttr(String attrName, String content) { return attrName.length() + " " + attrName + content.length() + " " + content; } }
SaverLoaderHelper { public String getStringForAttr(String attrName, String content) { return attrName.length() + " " + attrName + content.length() + " " + content; }  }
SaverLoaderHelper { public String getStringForAttr(String attrName, String content) { return attrName.length() + " " + attrName + content.length() + " " + content; }  String getStringForAttr(String attrName, String content); String getStringForAttr(String attrName, int content); String getStringForAttr(String attrName, List<String> content); Map<String, String> parseSaveString(String saveFile); }
SaverLoaderHelper { public String getStringForAttr(String attrName, String content) { return attrName.length() + " " + attrName + content.length() + " " + content; }  String getStringForAttr(String attrName, String content); String getStringForAttr(String attrName, int content); String getStringForAttr(String attrName, List<String> content); Map<String, String> parseSaveString(String saveFile);  }