/** Test of setId method, of class ValidatorElectionEvent. */
 @Test
 public void testSetId() {
   System.out.println("setId");
   ValidatorElectionEvent instance = new ValidatorElectionEvent();
   Integer expResult = 1;
   instance.setId(expResult);
   Integer result = instance.getId();
   assertEquals(expResult, result);
 }
 /** Test of toString method, of class ValidatorElectionEvent. */
 @Test
 public void testToString() {
   System.out.println("toString");
   ValidatorElectionEvent instance = new ValidatorElectionEvent();
   instance.setId(1);
   String expResult = "entityValidator.ValidatorElectionEvent[id=1]";
   String result = instance.toString();
   assertEquals(expResult, result);
 }
 /** Test of hashCode method, of class ValidatorElectionEvent. */
 @Test
 public void testHashCode() {
   System.out.println("hashCode");
   ValidatorElectionEvent instance = new ValidatorElectionEvent();
   instance.setId(1);
   int expResult = 0;
   int result = instance.hashCode();
   assertNotSame(expResult, result);
 }
 /** Test of setVotingStarted method, of class ValidatorElectionEvent. */
 @Test
 public void testSetVotingStarted() {
   System.out.println("setVotingStarted");
   ValidatorElectionEvent instance = new ValidatorElectionEvent();
   Boolean expResult = false;
   instance.setVotingStarted(expResult);
   Boolean result = instance.getVotingStarted();
   assertEquals(expResult, result);
 }
 /** Test of equals method, of class ValidatorElectionEvent. */
 @Test
 public void testEquals() {
   System.out.println("equals");
   ValidatorElectionEvent instance = new ValidatorElectionEvent();
   ValidatorElectionEvent instance2 = new ValidatorElectionEvent();
   instance.setId(1);
   instance2.setId(1);
   boolean result = instance.equals(instance2);
   assertTrue(result);
 }
 /** Test of setVoters method, of class ValidatorElectionEvent. */
 @Test
 public void testSetVoters() {
   System.out.println("setVoters");
   ValidatorElectionEvent instance = new ValidatorElectionEvent();
   ValidatorVoter a = new ValidatorVoter();
   Collection<ValidatorVoter> b = new ArrayList<ValidatorVoter>();
   b.add(a);
   instance.setVoters(b);
   Collection expResult = b;
   Collection result = instance.getVoters();
   assertEquals(expResult, result);
 }
 /** Test of getCandidates method, of class ValidatorElectionEvent. */
 @Test
 public void testGetCandidates() {
   System.out.println("getCandidates");
   ValidatorElectionEvent instance = new ValidatorElectionEvent();
   ValidatorCandidate a = new ValidatorCandidate();
   Collection<ValidatorCandidate> b = new ArrayList<ValidatorCandidate>();
   b.add(a);
   instance.setCandidates(b);
   Collection expResult = b;
   Collection result = instance.getCandidates();
   assertEquals(expResult, result);
 }