'The resource rendered for child not found requests can be customize
using a class member.'

def test_getChildChildNotFound_customize(self):

    base = FilePath(self.mktemp())
    base.setContent('')
    markerResponse = 'custom-child-not-found-response'
    class CustomChildNotFoundResource(resource.Resource, ):
        def render(self, request):
            return markerResponse
    class CustomStaticFile(static.File, ):
        childNotFound = CustomChildNotFoundResource()
    fileResource = CustomStaticFile(base.path)
    request = DummyRequest(['no-child.txt'])
    child = fileResource.getChild('no-child.txt', request)
    result = child.render(request)
    self.assertEqual(markerResponse, result)
