contextFromNotification.set(notification.getMuleContext());
resourceId.set(notification.getResourceIdentifier());
}
};
ctx.registerListener(listener);
ctx.start();
assertNotNull(contextFromNotification.get());
assertSame(ctx, contextFromNotification.get());
assertEquals(ctx.getConfiguration().getId(), resourceId.get());
}