/** * Tears down the fixture, for example, close a network connection. * This method is called after a test is executed. */ public function tearDown() { parent::tearDown(); if (null !== $this->previousLocale) { IntlLocale::setDefault($this->previousLocale); $this->previousLocale = null; } }
/** * This method is called before the first test of this test class is run. */ public static function setUpBeforeClass() { parent::setUpBeforeClass(); static::$helperCtorArgs = array(new SiteInfo(array('subdomain' => 'sub', 'domain' => 'zork.test', 'fulldomain' => 'sub.zork.test'))); }
/** * Tears down the fixture, for example, close a network connection. * This method is called after a test is executed. */ public function tearDown() { $this->helper->getContainer()->exchangeArray(array()); parent::tearDown(); }