pub fn register_vote_assert_success(
        &mut self,
        caller: PrincipalId,
        neuron_id: NeuronId,
        pid: ProposalId,
        vote: Vote,
    ) {
        let result = self.register_vote(caller, neuron_id, pid, vote);
        assert_eq!(
            result,
            ManageNeuronResponse {
                command: Some(manage_neuron_response::Command::RegisterVote(
                    manage_neuron_response::RegisterVoteResponse {}
                ))
            }
        );
    }
/// Issues a manage_neuron command to register a vote, and asserts that it
/// worked.
Issues a manage_neuron command to register a vote, and asserts that it
worked.
Issues a manage_neuron command to register a vote and asserts that it worked .
pub fn register_vote_assert_success(
        &mut self,
        caller: PrincipalId,
        neuron_id: NeuronId,
        pid: ProposalId,
        vote: Vote,
    ) {
        let result = self.register_vote(caller, neuron_id, pid, vote);
        assert_eq!(
            result,
            ManageNeuronResponse {
                command: Some(manage_neuron_response::Command::RegisterVote(
                    manage_neuron_response::RegisterVoteResponse {}
                ))
            }
        );
    }
pub fn register_vote_assert_success ( & mut self , caller : PrincipalId , neuron_id : NeuronId , pid : ProposalId , vote : Vote , ) { let result = self . register_vote ( caller , neuron_id , pid , vote ) ; assert_eq ! ( result ManageNeuronResponse { command Some ( manage_neuron_response Command RegisterVote ( manage_neuron_response RegisterVoteResponse { } ) ) } ) ; }
Issues a manage_neuron command to register a vote, and asserts that it
worked.
Issues a manage_neuron command to register a vote and asserts that it worked .
&mut self
caller
PrincipalId
neuron_id
NeuronId
pid
ProposalId
vote
Vote
&mut self
caller
PrincipalId
neuron_id
NeuronId
pid
ProposalId
vote
Vote