/** * testGetEventArray * * @since 2.4.0 */ public function testGetEventArray() { /* setup */ Hook::construct($this->_registry); Hook::init(); Hook::trigger('render'); /* actual */ $actualArray = Hook::getEventArray(); /* compare */ $this->assertArrayHasKey('render', $actualArray); }