final TestSedaService testSedaService = (TestSedaService) muleContext.getRegistry().lookupService("testComponent");
FunctionalTestComponent testComponent = (FunctionalTestComponent) getComponent(testSedaService);
assertNotNull(testComponent);
final AtomicBoolean callbackMade = new AtomicBoolean(false);
EventCallback callback = new EventCallback()
{
public void eventReceived(MuleEventContext context, Object component) throws Exception
{
assertTrue(callbackMade.compareAndSet(false, true));
MuleMessage msg = context.getMessage();