use of org.talend.camel.designer.codegen.jet.CamelJetFileProvider in project tesb-studio-se by Talend.
the class CamelJetFileProviderTest method testInitialize.
/**
* Test method for
* {@link org.talend.camel.designer.codegen.jet.CamelJetFileProvider#initializeStubAdditionalJetFile()}.
*/
@Test
public void testInitialize() {
List<String> resTemplates = Arrays.asList(new String[] { "header_route", "footer_route", "camel_speciallinks", "camel_run_if" });
List<TemplateUtil> templates = new CamelJetFileProvider().initializeStubAdditionalJetFile();
for (TemplateUtil t : templates) {
Assert.assertTrue(resTemplates.contains(t.getType().getTemplateName()));
}
}
Aggregations