assertEquals("different bean instances given for the same bundle", serviceAcopy1, serviceAcopy2);
}
public void testServiceAScopeForBundleA() throws Exception {
ScopeTestService serviceAInBundleA = (ScopeTestService) org.springframework.osgi.iandt.scope.a.BeanReference.BEAN;
System.out.println(serviceAInBundleA.getServiceIdentity());
System.out.println(getServiceA().getServiceIdentity());
assertFalse("same bean instance used for different bundles", serviceAInBundleA.getServiceIdentity().equals(
getServiceA().getServiceIdentity()));
}