assertEquals(1, ExceptionCustomListener.REG_CALLS);
assertEquals(1, ExceptionCustomListener.UNREG_CALLS);
}
public void testStandardListenerWithListeningMethodsSpecifiedAsCustomOnes() throws Exception {
listener = new OsgiServiceRegistrationListenerAdapter();
listener.setTarget(new JustListener());
listener.setRegistrationMethod("registered");
listener.setUnregistrationMethod("unregistered");
listener.setBeanFactory(createMockBF());
listener.afterPropertiesSet();