public function testGetEvent() { $_SERVER[Server::GITHUB_EVENT_HEADER_NAME] = HookManager::EVENT_PING; $this->assertString($this->server->getEvent()); $this->assertEquals($this->server->getEvent(), HookManager::EVENT_PING); }