'The I{--path} option creates a root resource which serves a
L{CGIScript} instance for any child with the C{".cgi"} extension.'

def test_cgiProcessor(self):

    (path, root) = self._pathOption()
    path.child('foo.cgi').setContent('')
    self.assertIsInstance(root.getChild('foo.cgi', None), CGIScript)
