'Test adding items to a roster stanza.'

def testAddItems(self):

    iq = self.Iq()
    iq['roster'].setItems({'user@example.com': {'name': 'User', 'subscription': 'both', 'groups': ['Friends', 'Coworkers']}, 'otheruser@example.com': {'name': 'Other    User', 'subscription': 'both', 'groups': []}})
    self.check(iq, '\n                                        <iq>\n                                                <query    xmlns="jabber:iq:roster">\n                                                        <item    jid="user@example.com"    name="User"    subscription="both">\n                                                                <group>Friends</group>\n                                                                <group>Coworkers</group>\n                                                        </item>\n                                                        <item    jid="otheruser@example.com"    name="Other    User"\n                                                                                subscription="both"    />\n                                                </query>\n                                        </iq>\n                                ')
