assertEquals(cs.getComponentEvents().size(), 2);
assert cs.getComponentEvents("comp") != null;
assert cs.getComponentEvents("page/comp") != null;
ComponentEventProperty prop = cs.getComponentEvents("comp");
assertEquals(prop.getComponentId(), "comp");
assertEquals(prop.getEvents().size(), 1);
EventBoundListener listener = (EventBoundListener)prop.getEventListeners("foo").get(0);
assertEquals(listener.getComponentId(), "comp");
prop = cs.getComponentEvents("page/comp");
assertEquals(prop.getComponentId(), "page/comp");
assertEquals(prop.getEvents().size(), 1);
listener = (EventBoundListener)prop.getEventListeners("foo").get(0);
assertEquals(listener.getComponentId(), "page/comp");
}