'Test the \'from\' interface of StanzaBase.'

def testFrom(self):

    stanza = StanzaBase()
    stanza['from'] = 'user@example.com'
    self.failUnless((str(stanza['from']) == 'user@example.com'), "Setting    and    retrieving    stanza    'from'    attribute    did    not    work.")
