/**
  * Testing aggregated providers.
  *
  * @exception Exception if a test error occurs
  */
 public void testAggregatedExpandedProvidersCase2() throws Exception {
   Resource resource = getLibrary().getResource("dpml/transit/dpml-transit-tools");
   Resource[] build = resource.getAggregatedProviders(Scope.BUILD, true, false);
   Resource[] runtime = resource.getAggregatedProviders(Scope.RUNTIME, true, false);
   Resource[] test = resource.getAggregatedProviders(Scope.TEST, true, false);
   assertEquals("build", 0, build.length);
   assertEquals("runtime", 3, runtime.length);
   assertEquals("test", 5, test.length);
 }
 /**
  * Testing aggregated providers.
  *
  * @exception Exception if a test error occurs
  */
 public void testAggregatedExpandedProvidersCase3() throws Exception {
   Resource resource = getLibrary().getResource("dpml/metro/dpml-component-model");
   Resource[] build = resource.getAggregatedProviders(Scope.BUILD, true, false);
   Resource[] runtime = resource.getAggregatedProviders(Scope.RUNTIME, true, false);
   Resource[] test = resource.getAggregatedProviders(Scope.TEST, true, false);
   assertEquals("build", 0, build.length);
   assertEquals("runtime", 5, runtime.length);
   assertEquals("test", 12, test.length);
 }
 /**
  * Testing aggregated providers.
  *
  * @exception Exception if a test error occurs
  */
 public void testAggregatedProvidersCase1() throws Exception {
   Resource resource = getLibrary().getResource("dpml/metro/dpml-composition-runtime");
   Resource[] build = resource.getAggregatedProviders(Scope.BUILD, false, false);
   Resource[] runtime = resource.getAggregatedProviders(Scope.RUNTIME, false, false);
   Resource[] test = resource.getAggregatedProviders(Scope.TEST, false, false);
   assertEquals("build", 0, build.length);
   assertEquals("runtime", 6, runtime.length);
   assertEquals("test", 6, test.length);
 }