TemplateHandlerManager thm = new TemplateHandlerManager( "Parser" );
BasicTemplate tm01 = new BasicTemplate();
tm01.getPropertySet(Service.CONF_template)
.set( TemplateHandlerManager.PROPERTY_PREFIX+"Parser", "org.jostraca.process.test.TestParser" );
TemplateHandler th = thm.getTemplateHandler( tm01 );
assertTrue( th instanceof TestParser );
TestParser tp = (TestParser) th;
th.process( tm01 );
assertEquals( "TestParser:new, process:[Template[p:[]]], ", tp.toString() );
th.complete( ListUtil.make( tm01 ) );
assertEquals( "TestParser:new, process:[Template[p:[]]], complete:[[Template[p:[]]]], ", tp.toString() );
}