PayloadEndpointAdapter extends TransformerObjectSupport implements EndpointAdapter { @Override public boolean supports(Object endpoint) { return endpoint instanceof PayloadEndpoint; }  @Override boolean supports(Object endpoint); @Override void invoke(MessageContext messageContext, Object endpoint);  }
@Test public void testSupports() throws Exception { Assert.assertTrue("PayloadEndpointAdapter does not support PayloadEndpoint", adapter.supports(endpointMock)); }