View Javadoc
1   package civitas.common.mix.voteelementrevelation.tests;
2   
3   import static org.mockito.Mockito.mock;
4   
5   import civitas.common.mix.voteelementrevelation.MixVoteElementRevelation;
6   import civitas.crypto.reencryptfactor.tests.ElGamalReencryptFactorTestData;
7   
8   public interface MixVoteElementRevelationTestData extends ElGamalReencryptFactorTestData {
9   
10  	MixVoteElementRevelation VOTE_ELEMENT_REVELATION_MOCK = mock(MixVoteElementRevelation.class);
11  
12  	MixVoteElementRevelation VOTE_ELEMENT_REVELATION = new MixVoteElementRevelation(
13  			ELGAMAL_REENCRYPT_FACTOR_E, ELGAMAL_REENCRYPT_FACTOR_EPRIME, 0, "nonce".getBytes());
14  }