'Test getting an element for an error with an app specific condition.'

def test_getElementAppCondition(self):

    ac = domish.Element(('testns', 'myerror'))
    e = error.BaseError('feature-not-implemented', appCondition=ac)
    element = e.getElement()
    self.assertEqual(len(element.children), 2)
    self.assertEqual(element.myerror, ac)
