/**
* Create a TypeManager for testing.
*/
protected void setUp() throws Exception
{
ApiAdapter api = new JDOAdapter();
ClassLoaderResolver clr = new JDOClassLoaderResolver();
PluginManager pluginMgr = new PluginManager(new PersistenceConfiguration() {}, clr);
pluginMgr.registerExtensionPoints();
pluginMgr.registerExtensions();
pluginMgr.resolveConstraints();