def METHOD_NAME(self):
    # First test what the absolute url of the site is, otherwise these
    # tests look really weird.  Apparently our domain is www.foobar.com.
    self.assertEqual(self.site.absolute_url(), "http://www.foobar.com/bar/foo")
    url_tool = self._makeOne()
    iURLiP = url_tool.isURLInPortal
    self.assertTrue(iURLiP("http://www.foobar.com/bar/foo/folder"))
    self.assertTrue(iURLiP("http://www.foobar.com/bar/foo"))
    self.assertFalse(iURLiP("http://www.foobar.com/bar2/foo"))
    self.assertTrue(iURLiP("https://www.foobar.com/bar/foo/folder"))
    self.assertFalse(iURLiP("http://www.foobar.com:8080/bar/foo/folder"))
    self.assertFalse(iURLiP("http://www.foobar.com/bar"))
    self.assertTrue(iURLiP("//www.foobar.com/bar/foo"))
    self.assertFalse(iURLiP("/images"))
    self.assertTrue(iURLiP("/bar/foo/foo"))