train_getComponentClassName(model, PACKAGE + ".Fred");
expect(locator.locateTemplate(model, Locale.ENGLISH)).andReturn(resource);
expect(resource.exists()).andReturn(true).anyTimes();
expect(resource.toURL()).andReturn(null).anyTimes();
expect(locator.locateTemplate(model, Locale.FRENCH)).andReturn(resource);
train_parseTemplate(parser, resource, template);