assertEquals("Accepts inbound messages", getDocDescription(in));
FlowConstruct flow = muleContext.getRegistry().lookupFlowConstruct("Bridge");
assertNotNull(flow);
assertEquals("Bridge flow", getDocName(flow));
assertEquals("Main flow", getDocDescription(flow));
DefaultJavaComponent echo = muleContext.getRegistry().lookupByType(DefaultJavaComponent.class).values().iterator().next();
assertEquals("echo", getDocName(echo));
ImmutableEndpoint ep = (ImmutableEndpoint) ((Flow)flow).getMessageSource();
assertNotNull(ep);
assertEquals("inbound flow endpoint", getDocName(ep));
assertNull("Accepts inbound messages", getDocDescription(ep));