}
@Test
public void testXsltOnEndpoint() throws MuleException
{
XsltTransformer xslt = (XsltTransformer) getAndTestEndpointTransformer("ep6", XsltTransformer.class);
assertEquals(10, xslt.getMaxActiveTransformers());
assertEquals(10, xslt.getMaxIdleTransformers());
assertEquals(CustomXsltTransformerFactory.class.getName(), xslt.getXslTransformerFactory());
assertNotNull(xslt.getXslt());
String transform = xslt.getXslt();
assertTrue(transform.indexOf("test for this string in test") > -1);
assertEquals("#[header:foo]", xslt.getContextProperties().get("bar"));
}