Consumer consumer = createConsumer(owner);
consumerCurator.create(consumer);
EntitlementCertificate cert = createEntitlementCertificate("key", "certificate");
Entitlement ent = createEntitlement(owner, consumer, pool, cert);
entitlementCurator.create(ent);
List<String> productIds = new ArrayList<String>();
productIds.add(provided.getId());
List<Owner> results = ownerCurator.lookupOwnersByActiveProduct(productIds);