String brandedName = "Branded Eng Product";
Product p = new Product(engProdId, "Eng Product 1000");
p.setAttribute("brand_type", "OS");
Set<Product> prods = new HashSet<Product>(Arrays.asList(p));
Pool pool = TestUtil.createPool(new Product("mkt", "MKT SKU"));
pool.getBranding().add(new Branding(engProdId, "OS", brandedName));
pool.getBranding().add(new Branding(engProdId, "OS", "another brand name"));
pool.getBranding().add(new Branding(engProdId, "OS", "number 3"));
Set<String> possibleBrandNames = new HashSet<String>();
for (Branding b : pool.getBranding()) {
possibleBrandNames.add(b.getName());
}
Consumer consumer = new Consumer();