}
public void testInterceptors()
{
Service service = muleContext.getRegistry().lookupService("orangeComponent");
AbstractComponent component = (AbstractComponent) service.getComponent();
assertEquals(3, component.getInterceptors().size());
assertEquals(LoggingInterceptor.class, component.getInterceptors().get(0).getClass());
assertEquals(InterceptorStack.class, component.getInterceptors().get(1).getClass());
assertEquals(TimerInterceptor.class, component.getInterceptors().get(2).getClass());
}