client1 = Skeleton.newMock(Bundle.class);
client2 = Skeleton.newMock(Bundle.class);
emf1 = Skeleton.newMock(EntityManagerFactory.class);
emf2 = Skeleton.newMock(EntityManagerFactory.class);
context = Skeleton.newMock(new BundleMock("system.bundle", new Hashtable<Object, Object>()), Bundle.class).getBundleContext();
mgr = new PersistenceContextManager(context, new JTAPersistenceContextRegistry(context));
mgr.open();
}