when(configMock.getBoolean(ConfigProperties.STANDALONE)).thenReturn(true);
Subscription s = createVirtLimitSubWithDerivedProducts("virtLimitProduct",
"derivedProd", 10, 10);
Pool p = TestUtil.copyFromSub(s);
p.setId("mockVirtLimitSubCreateDerived");
<BUG>when(productCurator.getPoolDerivedProvidedProductsCached(p.getId()))
.thenReturn(p.getDerivedProvidedProducts());</BUG>
List<Pool> pools = poolRules.createAndEnrichPools(p, new LinkedList<Pool>());
assertEquals(2, pools.size());
Pool physicalPool = pools.get(0);

when(configMock.getBoolean(ConfigProperties.STANDALONE)).thenReturn(true);
Subscription s = createVirtLimitSubWithDerivedProducts("virtLimitProduct",
"derivedProd", 10, 10);
Pool p = TestUtil.copyFromSub(s);
p.setId("mockVirtLimitSubCreateDerived");
when(productCurator.getPoolDerivedProvidedProductsCached(p))
.thenReturn(p.getDerivedProvidedProducts());
List<Pool> pools = poolRules.createAndEnrichPools(p, new LinkedList<Pool>());
assertEquals(2, pools.size());
Pool physicalPool = pools.get(0);
