def METHOD_NAME(self):
    assert registry.lookup('strict', 'html') == HTMLParserTreeBuilder
    if LXML_PRESENT:
        assert registry.lookup('fast', 'html') == LXMLTreeBuilder
        assert registry.lookup('permissive', 'xml') == LXMLTreeBuilderForXML
    if HTML5LIB_PRESENT:
        assert registry.lookup('html5lib', 'html') == HTML5TreeBuilder