'Flattening an L{Element} with a C{loader} which has a tag with a render
directive fails with L{FlattenerError} if there is no available render
method to satisfy that directive.'

def test_missingRenderMethod(self):

    element = Element(loader=XMLString('\n                                <p    xmlns:t="http://twistedmatrix.com/ns/twisted.web.template/0.1"\n                                        t:render="unknownMethod"    />\n                                '))
    return self.assertFlatteningRaises(element, MissingRenderMethod)
