c.setFact("memory.memtotal", "2000000");
Set<ConsumerCapability> caps = new HashSet<ConsumerCapability>();
c.setCapabilities(caps);
c.getType().setManifest(true);
Product prod = TestUtil.createProduct();
prod.setAttribute("ram", "2");
Pool p = TestUtil.createPool(prod);
ValidationResult results = enforcer.preEntitlement(c, p, 1, CallerType.LIST_POOLS);
assertNotNull(results);
assertEquals(0, results.getErrors().size());