@Test
public void testToPageJSON() {
List<User> list = new ArrayList<User>();
{
User user = new User();
user.setId(1234L);
user.setEmail("testEmail");
user.setCreateDate(new Date());
user.setLoginName("abcdefg");
list.add(user);
}
{
User user = new User();
user.setId(1234L);
user.setEmail("testEmail");
user.setCreateDate(new Date());
user.setLoginName("abcdefg");
list.add(user);
}
{
User user = new User();
user.setId(1234L);
user.setEmail("testEmail");
user.setCreateDate(new Date());
user.setLoginName("abcdefg");
list.add(user);
}
System.out.println(EXTUtil.toPageJSON(1,list));
}