@Test public void testMyTemplates() throws IOException { TemplateListResult r = readTemplateList("TemplateList.json"); assertEquals(0, r.getErrCode()); assertEquals("ok", r.getErrMsg()); assertEquals("wDYzYZVxobJivW9oMpSCpuvACOfJXQIoKUm0PY397Tc", r.getList().get(0).getId()); assertEquals("购买成功通知", r.getList().get(0).getTitle()); assertEquals("购买地点{{keyword1.DATA}}\n购买时间{{keyword2.DATA}}\n物品名称{{keyword3.DATA}}\n", r.getList().get(0).getContent()); assertEquals("购买地点：TIT造舰厂\n购买时间：2016年6月6日\n物品名称：咖啡\n", r.getList().get(0).getExample()); }
public List<Template> getList() { return list; }
TemplateListResult extends WxaApiResult { public List<Template> getList() { return list; } }
TemplateListResult extends WxaApiResult { public List<Template> getList() { return list; }  }
TemplateListResult extends WxaApiResult { public List<Template> getList() { return list; }  List<Template> getList(); void setList(List<Template> list); Long getTotalCount(); void setTotalCount(Long totalCount); Pagedata<Template> toPage(Pageable pageable); List<Template> toList(); }
TemplateListResult extends WxaApiResult { public List<Template> getList() { return list; }  List<Template> getList(); void setList(List<Template> list); Long getTotalCount(); void setTotalCount(Long totalCount); Pagedata<Template> toPage(Pageable pageable); List<Template> toList(); static final TypeReference<TemplateListResult> TYPE_REFERENCE; }