public void testLoad() throws Exception {
String base = FileUtil.findFile("org/jostraca/test").getAbsolutePath();
PropertySet systemps = getSystemPropertySet();
BasicTemplate tm = new BasicTemplate();
tm.setPropertySet( Constants.CONF_system, systemps );
String tmfp = base+"/basic.jtm";
BasicTemplatePath tmp01 = new BasicTemplatePath( tmfp );
tmp01.resolve( new String[]{} );
tm.load( tmp01 );
//System.out.println( Constants.CONF_system+":\n"+tm.getPropertySet( Constants.CONF_system ) );
//System.out.println( Constants.CONF_template+" after:\n"+tm.getPropertySet( Constants.CONF_template ) );
assertEquals( 7, tm.getPropertySet( Constants.CONF_template ).size() );
}