private void accumulateProvidedProducts(Pool stackedSubPool, Pool nextStackedPool) {
Product product = nextStackedPool.getDerivedProduct() != null ?
nextStackedPool.getDerivedProduct() :
nextStackedPool.getProduct();
if (nextStackedPool.getDerivedProduct() == null) {
<BUG>for (Product provided : productCurator.getPoolProvidedProductsCached(nextStackedPool.getId())) {
this.expectedProvidedProds.add(provided);</BUG>
}
}
else {

private void accumulateProvidedProducts(Pool stackedSubPool, Pool nextStackedPool) {
Product product = nextStackedPool.getDerivedProduct() != null ?
nextStackedPool.getDerivedProduct() :
nextStackedPool.getProduct();
if (nextStackedPool.getDerivedProduct() == null) {
for (Product provided : productCurator.getPoolProvidedProductsCached(nextStackedPool)) {
this.expectedProvidedProds.add(provided);
}
}
else {
