Tags { public List<Tag> list() { String url = WxEndpoint.get("url.tag.list"); String response = wxClient.get(url); TagList tagList = JsonMapper.defaultMapper().fromJson(response, TagList.class); return tagList.getTags(); }  static Tags defaultTags(); static Tags with(AppSetting appSetting); void setWxClient(WxClient wxClient); Tag create(String name); void update(Tag tag); void delete(int id); List<Tag> list(); UserPagination listUsers(int tagId); UserPagination listUsers(int tagId, String nextOpenId); void tagUsers(int tagId, List<String> openIds); void unTagUsers(int tagId, List<String> openIds); List<Integer> getUserTags(String openId);  }
@Test public void testList(){ List<Tag> list = Tags.defaultTags().list(); Assert.assertNotNull(list); }