*/
public void testExplicitHelperDirectiveSpecification() throws Exception {
String explicitHelperMarkup = String.format(baseComponentTag, "helper='js://test.test_SimpleHelper'", "");
DefDescriptor<ComponentDef> cmpDescriptor = addSourceAutoCleanup(ComponentDef.class, explicitHelperMarkup);
assertNotNull(cmpDescriptor.getDef());
HelperDef hlprDef = cmpDescriptor.getDef().getHelperDef();
assertNotNull("Failed to extract helper def on component.", hlprDef);
assertTrue("Helper directive provided a javascript helper, but component definition has something else.",
hlprDef instanceof JavascriptHelperDef);
assertEquals("Failed to create correct helper def for test component.", "js://test.test_SimpleHelper", hlprDef
.getDescriptor().getQualifiedName());
}