services, BeanContext.class);
assertSame(BeanContext.class, event.getServiceClass());
}
public void testGetCurrentServiceSelectors() {
BeanContextServices services = new MockBeanContextServices();
BeanContextServiceAvailableEvent event = new MockBeanContextServiceAvailableEvent(
services, BeanContext.class);
Iterator expectedIt = services
.getCurrentServiceSelectors(BeanContext.class);
Iterator it = event.getCurrentServiceSelectors();
while (expectedIt.hasNext()) {
assertSame(expectedIt.next(), it.next());
}