List<Submit> result = runQuery(0, 10, null, null, true, "both", "ALL", null, null, false);
assertEquals(2, result.size());
}
public void testDuplicatesCountWithoutDates() {
Submit e1 = createNewSubmit();
Submit e2 = createDuplicate(e1);
List<Submit> result = runQuery(0, 10, previousMonth(), new Date(), true);
assertNotNull(result);
assertEquals(2, result.size());
assertTrue(result.contains(e2));