'A L{static.File} created for a directory which does not exist should
return childNotFound from L{static.File.getChild}.'

def test_staticFileDeletedGetChild(self):

    staticFile = static.File(self.mktemp())
    request = DummyRequest(['foo.bar'])
    child = staticFile.getChild('foo.bar', request)
    self.assertEqual(child, staticFile.childNotFound)
