'When called with the name which is not associated with a render method,
L{Element.lookupRenderMethod} raises L{MissingRenderMethod}.'

def test_missingRendererMethod(self):

    element = Element()
    err = self.assertRaises(MissingRenderMethod, element.lookupRenderMethod, 'foo')
    self.assertIdentical(err.element, element)
    self.assertEqual(err.renderName, 'foo')
