* @throws Exception to JUnit
*/
public void testGetAllProblemsets() throws Exception {
List contests = persistence.getAllProblemsets();
assertEquals("wrong size", 2, contests.size());
Problemset contest = (Problemset) contests.get(0);
checkAbstractContest(problemset1, contest);
contest = (Problemset) contests.get(1);
checkAbstractContest(problemset2, contest);