/** Add factory and trainer methods for the public interfaces of Tapestry IOC. */
public class IOCTestCase extends TestBase
{
protected final Registry buildRegistry(Class... moduleClasses)
{
RegistryBuilder builder = new RegistryBuilder();
builder.add(moduleClasses);
return builder.build();
}