function testKeywordAnalysisGetWithOptions() { $statcounter = new LaravelStatcounter(self::CONFIG); $url = $statcounter->keywordAnalysis(SearchEngine::NAME(), true)->toUrl(); $this->assertNotEmpty($url); $this->assertEquals($this->formatUrl('https://api.statcounter.com/stats/', '?vn=3&s=keyword_analysis&pi=%3$s&u=%1$s&t=%2$s&eek=1&ck=search_engine_name'), $url); }