def METHOD_NAME(self):
    """
    Test the testRootUrlJoin function.
    """
    urlbase = "root://site.domain//somepath"
    self.assertEqual(rootUrlJoin(urlbase, "extend"), "root://site.domain//somepath/extend")
    urlbase = "random"
    self.assertEqual(rootUrlJoin(urlbase, "extend"), None)
    urlbase = None
    self.assertEqual(rootUrlJoin(urlbase, "extend"), None)