package ie.lero.evoting.scenario;

import junit.framework.TestCase;
import election.tally.BallotCounting;
import election.tally.Constituency;

public class CountContinuingCandidatesEventK extends TestCase {

 	public void testEvent() {
 	 final BallotCounting ballotCounting = new BallotCounting();
   final Constituency constituency = new Constituency();
   constituency.setNumberOfSeats(3,3);
   constituency.setNumberOfCandidates(4);
   ballotCounting.setup(constituency);
	 assertTrue (4 == ballotCounting.getContinuingCandidates());
	}
}

package ie.lero.evoting.scenario;

import junit.framework.TestCase;
import election.tally.BallotCounting;
import election.tally.Constituency;

public class CountContinuingCandidatesEventK extends TestCase {

 	public void testEvent() {
 	 BallotCounting ballotCounting = new BallotCounting();
   Constituency constituency = new Constituency();
   constituency.setNumberOfSeats(3,3);
   constituency.setNumberOfCandidates(4);
   ballotCounting.setup(constituency);
	 assertTrue (4 == ballotCounting.getContinuingCandidates());
	}
}

--- 
+++ 
@@ -7,8 +7,8 @@
 public class CountContinuingCandidatesEventK extends TestCase {
 
  	public void testEvent() {
- 	 BallotCounting ballotCounting = new BallotCounting();
-   Constituency constituency = new Constituency();
+ 	 final BallotCounting ballotCounting = new BallotCounting();
+   final Constituency constituency = new Constituency();
    constituency.setNumberOfSeats(3,3);
    constituency.setNumberOfCandidates(4);
    ballotCounting.setup(constituency);
Use final variables for Ballot Counting and Constituency objects being tested.
