public function testRelativeUriWithPathHavingColonSegment()
{
$uri = (new Uri('urn:/mailto:foo'))->withScheme('');
$this->assertSame('/mailto:foo', $uri->getPath());
$this->setExpectedException('\\InvalidArgumentException');
(new Uri('urn:mailto:foo'))->withScheme('');
}