private CallableStatementImpl getCallableStatement() throws SQLException {
ConnectionImpl conn = Mockito.mock(ConnectionImpl.class);
ServerConnection sc = Mockito.mock(ServerConnection.class);
Mockito.stub(sc.getLogonResult()).toReturn(new LogonResult());
Mockito.stub(conn.getServerConnection()).toReturn(sc);
CallableStatementImpl mmcs = new CallableStatementImpl(conn, "{?=call x(?)}", ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY);
return mmcs;
}