public function testGetHookNameWithUnknownId() { $this->setExpectedException("\\Centreon\\Internal\\Exception", "Could not find hook id 9999"); Hook::getHookName(9999); }