@Before
public void setup() throws Exception {
tester = new WicketTester();
ApplicationContextMock context = new ApplicationContextMock();
PaxWicketSpringBeanComponentInjector defaultPaxWicketInjector =
new PaxWicketSpringBeanComponentInjector(tester.getApplication(), context);
tester.getApplication().getComponentInstantiationListeners().add(defaultPaxWicketInjector);
ruleManager = mock(RuleManager.class);
Collection<RuleBaseElementId> value = new ArrayList<RuleBaseElementId>();
value.add(new RuleBaseElementId(RuleBaseElementType.Process, "foo"));