public void testNextPage() throws Exception {
IUserCommand cmd = dc.createUserCommand("select * from copy_tblc") ;
cmd.setPage(Page.TEN) ;
Rows rows = cmd.execQuery();
assertEquals(10, rows.getRowCount()) ;
Rows nextPageRows = rows.nextPageRows() ;
assertEquals(11, nextPageRows.firstRow().getInt(2)) ;
assertEquals(true, rows.firstRow().getInt(2) < nextPageRows.firstRow().getInt(2)) ;
Rows prePageRows = rows.prePageRows() ;
assertEquals(1, prePageRows.firstRow().getInt(2)) ;
}