RuntimeBeanReference beanReference = (RuntimeBeanReference) value;
assertEquals("commandBus-embedded-ref", beanReference.getBeanName());
assertNull("Event bus should not be defined explicitly",
commandHandlerDefinition.getPropertyValues().getPropertyValue("eventBus"));
AnnotationCommandHandlerBeanPostProcessor handler = beanFactory.getBean(
"__axon-annotation-command-handler-bean-post-processor",
AnnotationCommandHandlerBeanPostProcessor.class);
assertNotNull(handler);
}