/** * Setup the test environment. * * @throws Exception to JUnit. */ protected void setUp() throws Exception { super.setUp(); Question question1 = new Question(777771, "elegant api1", 100.00f); Question question2 = new Question(777772, "elegant api2", 100.00f); Section section1 = new Section(777771, "design document section", 100.00f); section1.addQuestion(question1); Section section2 = new Section(777772, "design method section", 100.00f); section2.addQuestion(question2); group1 = new Group(111110, "group", 10.123f); group1.addSection(section1); group2 = new Group(111110, "group", 89.877f); group2.addSection(section2); groups = new Group[] {group1, group2}; card = new Scorecard(999990, "dev review card"); editor = new ScorecardEditor(card, "crackme"); }