'Test parsing of an error element with a text.'

def test_text(self):

    text = self.error.addElement(('errorns', 'text'))
    text.addContent(u'test')
    result = error._parseError(self.error, 'errorns')
    self.assertEqual('test', result['text'])
    self.assertEqual(None, result['textLang'])
