public function testDestroy() { $instance1 = Registry::getInstance(); Registry::destroy(); $instance2 = Registry::getInstance(); $this->assertNotSame($instance1, $instance2); }