@Test
public void testListAllForActKeyExcludesErrors() {
Product p = new Product("test-product", "Test Product");
productCurator.create(p);
ActivationKey ak = new ActivationKey();
Pool akpool = new Pool();
akpool.setAttribute("physical_only", "true");
ak.addPool(akpool, 1L);
Page<List<Pool>> results =
poolManager.listAvailableEntitlementPools(null, ak,
parentSystem.getOwner(), null, null, true, true,
new PoolFilterBuilder(), new PageRequest());
assertEquals(4, results.getPageData().size());