/** * @see https://github.com/imbo/imboclient-php/issues/91 */ public function testUrlsCanBePartiallyConvertedAndUpdated() { $expectedUrl = 'http://imbo/users/christer/images/image.png'; $this->url->png(); $this->assertSame($expectedUrl, (string) $this->url); $this->assertSame($expectedUrl, (string) $this->url); $this->url->desaturate(); $expectedUrl .= '?t%5B0%5D=desaturate'; $this->assertSame($expectedUrl, (string) $this->url); $this->assertSame($expectedUrl, (string) $this->url); }