protected function setUp() { $this->oldInstance = Registry::getInstance(); $this->object = new Registry(); }