### Question:
InvokingInvocationHandler extends CXFInvocationHandlerBase { public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { Object ret = null; if (!isConnectionCloseMethod(method)) { ret = invokeTargetMethod(proxy, method, args); } else { closeConnection(proxy); } return ret; } InvokingInvocationHandler(CXFInvocationHandlerData data); Object invoke(Object proxy, Method method, Object[] args);  }### Answer:
@Test public void testHandlerInvokesNext() throws Throwable { assertFalse("target method must not have be called", target.methodInvoked); handler.invoke(target, testMethod, new Object[0]); assertTrue("target method must be called", target.methodInvoked); }