public void testNextPage() throws Exception {
IUserCommand cmd = dc.createUserCommand(query1) ;
cmd.setPage(Page.create(10, 1)) ;
Rows rows = cmd.execQuery() ; // 1page
assertEquals(10, rows.getRowCount()) ;
assertEquals(1, rows.firstRow().getInt("no2")) ;
Rows nextRows = rows.nextPageRows() ; // 2page
assertEquals(10, nextRows.getRowCount()) ;
assertEquals(11, nextRows.firstRow().getInt("no2")) ;
}