when(rulesCurator.getRules()).thenReturn(rules);
when(rulesCurator.getUpdated()).thenReturn(
TestDateUtil.date(2010, 1, 1));
JsRunner jsRules = new JsRunnerProvider(rulesCurator).get();
enforcer = new EntitlementRules(new DateSourceImpl(), jsRules,
productCache, I18nFactory.getI18n(getClass(), Locale.US,
I18nFactory.FALLBACK), config, consumerCurator, poolCurator);
owner = new Owner();
consumer = new Consumer("test consumer", "test user", owner,