'L{Site.getResourceFor} returns the C{b""} child of the root resource it
is constructed with when processing a request for I{/}.'

def test_simplestSite(self):

    sres1 = SimpleResource()
    sres2 = SimpleResource()
    sres1.putChild('', sres2)
    site = server.Site(sres1)
    self.assertIdentical(site.getResourceFor(DummyRequest([''])), sres2, 'Got    the    wrong    resource.')
