public function testCompleteEndpoint() { $this->Config->setEndpoint('url'); $this->Config->completeEndpoint(['maxwidth' => 120, 'maxheight' => 60]); $this->assertEquals('url?maxwidth=120&maxheight=60', $this->Config->endpoint()); }