criteria.setLanguages(Arrays.asList(new Object[] {language2}));
submissions = persistence.searchSubmissions(criteria, 0, 100);
checkSubmissions(Arrays.asList(new Object[] {submission2}), submissions);
criteria.setLanguages(Arrays.asList(new Object[] {
new Language(4, "x", "x", "x", "x")}));
submissions = persistence.searchSubmissions(criteria, 0, 100);
checkSubmissions(new ArrayList(), submissions);
criteria.setLanguages(new ArrayList());
submissions = persistence.searchSubmissions(criteria, 0, 100);