public function testGetUrl() { $webhook = new WebhookInfo($this->data); $url = $webhook->getUrl(); $this->assertEquals($this->data['url'], $url); }