@@ -0,0 +1,1581 @@
+package de.hs_mannheim.IB.SS15.OOT.PlanObjects;%0D%0A%0D%0Aimport static org.junit.Assert.*;%0D%0A%0D%0Aimport java.util.ArrayList;%0D%0A%0D%0Aimport org.junit.Before;%0D%0Aimport org.junit.Test;%0D%0A%0D%0Aimport de.hs_mannheim.IB.SS15.OOT.Subject;%0D%0Aimport de.hs_mannheim.IB.SS15.OOT.Participants.Assessor;%0D%0Aimport de.hs_mannheim.IB.SS15.OOT.Participants.Desire;%0D%0Aimport de.hs_mannheim.IB.SS15.OOT.Participants.Examinee;%0D%0Aimport de.hs_mannheim.IB.SS15.OOT.Participants.Examiner;%0D%0A%0D%0Apublic class ExamsTest %7B%0D%0A%09private Exam exam;%0D%0A%09private Subject%5B%5D subjects = new Subject%5B2%5D;%0D%0A%09private Examinee examinee;%0D%0A%09private Examiner%5B%5D examiner = new Examiner%5B2%5D;%0D%0A%09private Assessor assessor;%0D%0A%09%0D%0A%09@Before%0D%0A%09public void setUp() throws Exception%7B%0D%0A%09%09Subject subjectOne = new Subject(%22Lineare Algebra%22, %22LAL%22);%0D%0A%09%09Subject subjectTwo = new Subject(%22Analysis%22, %22ANA%22);%0D%0A%09%09subjects%5B0%5D= subjectOne;%0D%0A%09%09subjects%5B1%5D=subjectTwo;%0D%0A%09%09ArrayList%3CSubject%3E subjectsArrayList = new ArrayList%3CSubject%3E();%0D%0A%09%09subjectsArrayList.add(subjectOne);%0D%0A%09%09subjectsArrayList.add(subjectTwo);%0D%0A%09%09ArrayList%3CDesire%3E desires = new ArrayList%3CDesire%3E();%0D%0A%09%09desires.add(new Desire(1,1,2,2,%22wichtig%22,3 ));%0D%0A%09%09Examinee examineeTest = new Examinee(%22Harald%22, subjectsArrayList, desires);%0D%0A%09%09Examiner examinerTestOne = new Examiner(%22Dieter%22, subjectsArrayList, desires);%0D%0A%09%09Examiner examinerTestTwo = new Examiner(%22Wolfgang%22, subjectsArrayList, desires);%0D%0A%09%09examiner%5B0%5D=examinerTestOne;%0D%0A%09%09examiner%5B1%5D=examinerTestTwo;%0D%0A%09%09Assessor assessorTest = new Assessor(%22Helene%22, subjectsArrayList);%0D%0A%09%09exam = new Exam(subjects, examineeTest, examiner, assessorTest,3);%0D%0A%09%7D%0D%0A%7D%0D%0A

Test für Exams angefangen