'Verify that L{URL.replace} doesn\'t change any of the arguments it
is passed.'

def test_cloneUnchanged(self):

    urlpath = URL.fromText(u'https://x:1/y?z=1#A')
    self.assertEqual(urlpath.replace(urlpath.scheme, urlpath.host, urlpath.path, urlpath.query, urlpath.fragment, urlpath.port), urlpath)
    self.assertEqual(urlpath.replace(), urlpath)
