'Check whether we have the expected parameters when this method is called.'

def on_dispersy_create_votecast(self, cid, vote, _):

    self.assertEqual(cid, self.expected_votecast_cid)
    self.assertEqual(vote, self.expected_votecast_vote)
    self.create_votecast_called = True
    return succeed(None)
