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

def testTo(self):

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