when(quantityRules.getSuggestedQuantity(any(Pool.class),
any(Consumer.class), any(Date.class))).
thenReturn(suggested);
when(poolTypeRules.getPoolType(any(Pool.class))).
thenReturn(new PoolComplianceType());
Date date = new Date();
Map<String, String> attrs =
attrUtil.buildCalculatedAttributes(pool2, consumer, date);
assertEquals("12", attrs.get("quantity_increment"));