public static resetInstance ( ) : void | ||
return | void |
public static function resetInstance()
{
static::$instance = null;
}
/** * Test * * @return void */ public function testOnBootstrap() { $this->assertTrue($this->object->install()); $this->assertTrue($this->object->update('0.1.0')); $this->assertNull($this->object->onBootstrap(Registry::get('Application')->getMvcEvent())); $this->assertTrue($this->object->uninstall()); StaticEventManager::resetInstance(); }