public void unlimitedVirtLimitSubPool() {
Pool pool = setupVirtLimitPool();
pool.setAttribute("virt_limit", "unlimited");
Entitlement e = new Entitlement(pool, consumer, 5);
PoolHelper postHelper = mock(PoolHelper.class);
when(postHelper.getFlattenedAttributes(eq(pool))).thenReturn(
attrHelper.getFlattenedAttributes(pool));
when(config.getBoolean(ConfigProperties.STANDALONE)).thenReturn(true);
enforcer.postEntitlement(consumer, postHelper, e);
// Pool quantity should be virt_limit * entitlement quantity: