Map<String, EmptyResponseEndpointAdapter> adapters = beanDefinitionContext.getBeansOfType(EmptyResponseEndpointAdapter.class);
Assert.assertEquals(adapters.size(), 1);
// 1st endpoint adapter
EmptyResponseEndpointAdapter adapter = adapters.get("endpointAdapter");
Assert.assertNotNull(adapter);
}