TestClock clock = new TestClock(TestConstants.DATE_BEFORE_DEADLINE);
Event event = CannedQueries.eventByName( TestConstants.EVENT1_NAME);
Map<String, Object> session = new HashMap<String, Object>();
ApplyCoCampDiscountsAction action = createNewAction(clock, event, session);
Organisation testOrg = CannedQueries.orgByName(TestConstants.ORG1_NAME);
Unit testUnit = CannedQueries.unitByName(TestConstants.UNIT1_NAME, testOrg);
Map<Unit, List<Transaction>> transactions = action.getRelevantTransactions(event);
// Should have filtered out "Person booked after earlybird"