public void detectHasOutputParam() throws Exception
{
when(statement.getResultSet()).thenReturn(null);
when(statement.getUpdateCount()).thenReturn(StatementResultIterator.NO_UPDATE_COUNT);
DefaultOutputQueryParam param1 = new DefaultOutputQueryParam(0, UnknownDbType.getInstance(), "param1");
List<QueryParam> params = new LinkedList<QueryParam>();
params.add(param1);
QueryTemplate queryTemplate = new QueryTemplate("dummy", QueryType.STORE_PROCEDURE_CALL, params);
StatementResultIterator iterator = new StatementResultIterator(null, statement, queryTemplate, null, null);