question: test that stopping the hibernate-osgi bundle happens cleanly . todo : this will be really simplistic at first , but should be expanded upon . concode_field_sep BundleContext context concode_field_sep void testNative concode_elem_sep void commonTests concode_elem_sep void testLazyLoading concode_elem_sep void testClientBundle concode_elem_sep Bundle findHibernateBundle concode_elem_sep void testExtensionPoints concode_elem_sep void testHibernateBundle concode_elem_sep TestService getTestService concode_elem_sep JavaArchive deployment concode_elem_sep void testJpa
target: void function ( ) { commonTests ( ) ; findHibernateBundle ( "srini_string" ) . stop ( ) ; testHibernateBundle ( "srini_string" , Bundle . RESOLVED ) ; assertNull ( context . getServiceReference ( OsgiSessionFactoryService . class ) ) ; assertNull ( context . getServiceReference ( OsgiPersistenceProviderService . class ) ) ; }