/** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. */ protected function setUp() { $this->_subscriber = array($this, 'countingCallback'); $this->_incCount = 0; $this->_lastData = null; $this->_lastOb = null; BaseObject::destroyCache(); self::$_staticIncCount = 0; }
public function setUp() { $this->_permissionObject = new PermissionObject(); BaseObject::destroyCache(); }