@Override
 protected void setUp() throws Exception {
   super.setUp();
   ExpandoMetaClass.enableGlobally();
   MockGrailsPluginManager pluginManager = new MockGrailsPluginManager();
   PluginManagerHolder.setPluginManager(pluginManager);
 }
 @Override
 protected void setUp() {
   BuildSettings buildSettings = new BuildSettings(new File("."));
   BuildSettingsHolder.setSettings(buildSettings);
   MockGrailsPluginManager pluginManager = new MockGrailsPluginManager();
   PluginManagerHolder.setPluginManager(pluginManager);
   pluginManager.registerMockPlugin(DefaultGrailsTemplateGeneratorTests.fakeHibernatePlugin);
 }
 @Override
 protected void tearDown() throws Exception {
   super.tearDown();
   GrailsDomainBinder.NAMING_STRATEGIES.clear();
   GrailsDomainBinder.NAMING_STRATEGIES.put(
       GrailsDomainClassProperty.DEFAULT_DATA_SOURCE, ImprovedNamingStrategy.INSTANCE);
   PluginManagerHolder.setPluginManager(null);
 }
 @Override
 protected void tearDown() throws Exception {
   super.tearDown();
   GrailsDomainBinder.namingStrategy = ImprovedNamingStrategy.INSTANCE;
   PluginManagerHolder.setPluginManager(null);
 }
 @Override
 protected void tearDown() {
   BuildSettingsHolder.setSettings(null);
   PluginManagerHolder.setPluginManager(null);
 }