@Test
public void testEventGenerationGlobalMaxTime() throws DroolsParserException, IOException, Exception{
final Reader reader = new InputStreamReader( getClass().getResourceAsStream( TEST_RULE_FILE ) );
final RuleBase ruleBase = loadRuleBase( reader );
final WorkingMemory wm = ruleBase.newStatefulSession();
final SimpleEventGenerator myGenerator;
// create unrestricted event generator
myGenerator = new SimpleEventGenerator(wm , new SimpleEventListener(wm), PseudoSessionClock.timeInMinutes(1));
// generate events for 1 min, starting from the session clock