// Mock up getting and invoking the RuntimeWire. It is going to call:
// service.getRuntimeWire(jmsBinding).invoke(operation, (Object[])requestPayload);
final RuntimeWire runtimeWire = EasyMock.createStrictMock(RuntimeWire.class);
EasyMock.expect(service.getRuntimeWire(jmsBinding)).andReturn(runtimeWire);
EasyMock.expect(runtimeWire.invoke(expectedOperation, new Object[] {operationParams}))
.andReturn(operationReturnValue);
// Create the JMS Binding Listener
final DefaultJMSBindingListener bindingListener = new DefaultJMSBindingListener(jmsBinding, jmsResourceFactory, service, null);