'L{getChildForRequest} returns whatever resource has been reached by the
time the request\'s C{postpath} is empty.'

def test_exhaustedPostPath(self):

    request = DummyRequest([])
    resource = Resource()
    result = getChildForRequest(resource, request)
    self.assertIdentical(resource, result)
