assertSame("incorrect call order", stringService, OverloadedCustomMethods.UNBIND_SERVICES.get(1));
assertSame("incorrect call order", objService, OverloadedCustomMethods.UNBIND_SERVICES.get(2));
}
public void testExceptionOnListenerMethod() throws Exception {
listener = new OsgiServiceLifecycleListenerAdapter();
listener.setBeanFactory(createMockBF(new ExceptionListener()));
listener.setTargetBeanName(BEAN_NAME);
listener.setBindMethod("aBind");
listener.setUnbindMethod("aUnbind");
listener.afterPropertiesSet();