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