public void concurrentCreationOfEntitlementsShouldWorkIfUnderMaxMemberLimit()
throws Exception {
Long numAvailEntitlements = 2L;
Product newProduct = TestUtil.createProduct();
newProduct.addAttribute(new ProductAttribute("multi-entitlement", "yes"));
productCurator.create(newProduct);
Pool consumerPool = createPoolAndSub(owner, newProduct,
numAvailEntitlements, TestUtil.createDate(2009, 11, 30),
TestUtil.createDate(2050, 11, 30));