@Test
 public void testDependentBundleLifecyclePermutation2Test() throws Exception {
   Bundle paxWebBundle = getBundleForSymbolicName("org.ops4j.pax.web.pax-web-jetty-bundle");
   paxWebBundle.stop();
   assertFalse(checkRestServiceRunning(false));
   paxWebBundle.start();
   assertTrue(waitForBundle(paxWebBundle));
   assertTrue(checkRestServiceRunning(true));
 }
 @Test
 public void testDependentBundleLifecyclePermutation3Test() throws Exception {
   Bundle restServiceProviderBundle =
       getBundleForSymbolicName("org.developers.blog.osgi.webservice.jaxrs-provider");
   restServiceProviderBundle.stop();
   assertFalse(checkRestServiceRunning(false));
   restServiceProviderBundle.start();
   assertTrue(checkRestServiceRunning(true));
 }
 @Test
 public void testDependentBundleLifecyclePermutation4Test() throws Exception {
   Bundle paxWebBundle = getBundleForSymbolicName("org.ops4j.pax.web.pax-web-jetty-bundle");
   Bundle restServiceProviderBundle =
       getBundleForSymbolicName("org.developers.blog.osgi.webservice.rest-service-provider");
   Bundle restTestProviderBundle = getBundleForSymbolicName("RestProviderTestBundle");
   restTestProviderBundle.stop();
   assertFalse(checkRestServiceRunning(false));
   restTestProviderBundle.start();
   assertTrue(checkRestServiceRunning(true));
 }
 @Ignore
 @Test
 public void massiveDynamicReadLoadTest() throws Exception {
   for (int i = 0; i < 10; i++) {
     resourceReadTest();
     Bundle bundle = getBundleForSymbolicName("RestProviderTestBundle");
     assertEquals(Bundle.ACTIVE, waitForBundle(bundle));
     bundle.stop();
     assertFalse(checkRestServiceRunning(false));
     bundle.start();
     logger.info("Test " + i + ": finished");
   }
 }