iQuery = new QueryImpl();
impl = new QueryImpl(); ProxyFactory pf = new ProxyFactory( impl ); pf.addAdvice( new ServiceHandler() ); iQuery = (IQuery) pf.getProxy();
    protected void setUp() throws Exception    {        super.setUp();        iQuery = new QueryImpl();        mockSession = newMock();    }