def METHOD_NAME(self):
    if LXML_PRESENT:
        self.assertEqual(registry.lookup('lxml', 'xml'),
                         LXMLTreeBuilderForXML)
        self.assertEqual(registry.lookup('lxml', 'html'),
                         LXMLTreeBuilder)
    if HTML5LIB_PRESENT:
        self.assertEqual(registry.lookup('html5lib'),
                          HTML5TreeBuilder)
    self.assertEqual(registry.lookup('html.parser'),
                      HTMLParserTreeBuilder)