/*
  * instance multiplier with no multi-ent, and no stacking id isn't
  * currently a known pool type
  */
 @Test
 public void testUnknownPool() {
   Pool p = new Pool();
   p.setProductAttribute("instance_multiplier", "2", "test");
   PoolComplianceType pt = poolTypeRules.getPoolType(p);
   assertEquals("unknown", pt.getRawPoolType());
 }
 /*
  * Tests pools that only stack with other subscriptions,
  * but not themselves.
  */
 @Test
 public void testUniqueStackablePool() {
   Pool p = new Pool();
   p.setProductAttribute("stacking_id", "5", "test");
   PoolComplianceType pt = poolTypeRules.getPoolType(p);
   assertEquals("unique stackable", pt.getRawPoolType());
 }
 @Test
 public void testInstanceBasedPool() {
   Pool p = new Pool();
   p.setProductAttribute("stacking_id", "5", "test");
   p.setProductAttribute("multi-entitlement", "yes", "test");
   p.setProductAttribute("instance_multiplier", "2", "test");
   PoolComplianceType pt = poolTypeRules.getPoolType(p);
   assertEquals("instance based", pt.getRawPoolType());
 }
 /*
  * Standard pools have no stacking id, multi ent,
  * or instance multiplier.
  */
 @Test
 public void testStandardPool() {
   Pool p = new Pool();
   PoolComplianceType pt = poolTypeRules.getPoolType(p);
   assertEquals("standard", pt.getRawPoolType());
 }