hash1.put("javax.persistence.provider", "no.such.Provider");
ServiceRegistration reg = persistenceBundle.getBundleContext().registerService(new String[] {PersistenceProvider.class.getName()} ,
pp, hash1 );
ServiceReference ref = reg.getReference();
PersistenceProvider pp2 = Skeleton.newMock(PersistenceProvider.class);
Hashtable<String,Object> hash2 = new Hashtable<String, Object>();
hash2.put("javax.persistence.provider", "do.not.use.this.Provider");
hash2.put(Constants.SERVICE_RANKING, Integer.MAX_VALUE);
ServiceRegistration reg2 = persistenceBundle.getBundleContext().registerService(new String[] {PersistenceProvider.class.getName()} ,
pp2, hash2 );