protected function tearDown() { unset($this->db); unset($this->controller); Configuration::init(array()); $_POST = array(); }
/** * Tests the configuration's equals method be return FALSE if * not a reference has been passed. * * @return void */ public function testEqualsAndExpectFalse() { $this->configuration->init($this->getTestNode('test', 'testValue')); $configuration = new Configuration(); $configuration->init($this->getTestNode('test', 'testValue')); $this->assertFalse($this->configuration->equals($configuration)); }