@@ -0,0 +1,545 @@
+package election.tally.mock;%0A%0Apublic class MockBallot extends election.tally.Ballot %7B%0A%0A%09public void setFirstPreference(final int firstPreferenceID) %7B%0A%09%09numberOfPreferences = 1;%0A%09%09this.candidateID = firstPreferenceID;%0A%09%09preferenceList%5B0%5D = firstPreferenceID;%0A%09%7D%0A%0A%09public void setMultiplePreferences(int%5B%5D candidateIDList, final int howManyPreferences) %7B%0A%09%09this.numberOfPreferences = howManyPreferences;%0A%09%09this.candidateID = candidateIDList%5B0%5D;%0A%09%09for (int c = 0; c %3C howManyPreferences; c++) %7B%0A%09%09%09preferenceList%5Bc%5D = candidateIDList%5Bc%5D;%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A

Add subclass for creating mock ballots.