'Test retrieving next actions from a command stanza.'

def testGetActions(self):

    iq = self.Iq()
    iq['command']['node'] = 'foo'
    iq['command']['actions'] = ['prev', 'next']
    results = iq['command']['actions']
    expected = set(['prev', 'next'])
    self.assertEqual(results, expected, ('Incorrect    next    actions:    %s' % results))
