public function testGetModuleArray() { /* setup */ Hook::construct($this->_registry); Hook::init(); /* actual */ $actualArray = Hook::getModuleArray(); /* compare */ $this->assertArrayHasKey('TestDummy', $actualArray); }