public function testSetters() { $url = new \Curry_URL(); $url->setScheme('http')->setUser('user')->setPassword('password')->setHost('currycms.com')->setPort('80')->setPath('/path')->setQueryString('foo=bar')->setFragment('fragment'); $this->assertEquals(self::TEST_URL, (string) $url); }