subProduct.setAttribute("SA2", "SV2");
Pool targetPool = TestUtil.createPool(mainPoolProduct);
targetPool.setId("sub-prod-pool");
targetPool.setDerivedProduct(subProduct);
targetPool.setDerivedProvidedProducts(derivedProducts);
<BUG>when(productCurator.getPoolDerivedProvidedProductsCached(targetPool.getId()))
.thenReturn(derivedProducts);</BUG>
targetPool.setAttribute("virt_limit", "unlimited");
when(ent.getConsumer()).thenReturn(cons);
List<Pool> targetPools = new ArrayList<Pool>();

subProduct.setAttribute("SA2", "SV2");
Pool targetPool = TestUtil.createPool(mainPoolProduct);
targetPool.setId("sub-prod-pool");
targetPool.setDerivedProduct(subProduct);
targetPool.setDerivedProvidedProducts(derivedProducts);
when(productCurator.getPoolDerivedProvidedProductsCached(targetPool))
.thenReturn(derivedProducts);
targetPool.setAttribute("virt_limit", "unlimited");
when(ent.getConsumer()).thenReturn(cons);
List<Pool> targetPools = new ArrayList<Pool>();
