public function testMutatingSchemeStripsOffDelimiter() { $uri = new Uri('http://example.com'); $new = $uri->withScheme('https://'); $this->assertEquals('https', $new->getScheme()); }