public void testQueryForPaginatedListWithParameter() throws SQLException {
   PaginatedList result = new PaginatedArrayList(10);
   TestSqlMapClientTemplate template = new TestSqlMapClientTemplate();
   template.executor.queryForPaginatedList("myStatement", "myParameter", 10);
   template.executorControl.setReturnValue(result, 1);
   template.executorControl.replay();
   assertEquals(result, template.queryForPaginatedList("myStatement", "myParameter", 10));
   template.executorControl.verify();
 }