'If there is a non-None loader attribute on the class of an Element
instance but none on the instance itself, the class attribute is used.'

def test_loaderClassAttribute(self):

    class SubElement(Element, ):
        loader = XMLString('<p>Hello,    world.</p>')
    return self.assertFlattensTo(SubElement(), '<p>Hello,    world.</p>')
