assertEquals("camel1", lookup.getCamelContext().getName());
}
@Test
public void testHasTemplateCamel2() {
DefaultProducerTemplate lookup = context1.getRegistry().lookupByNameAndType("template2", DefaultProducerTemplate.class);
assertNotNull("Should lookup producer template", lookup);
assertEquals("camel2", lookup.getCamelContext().getName());
}