entitlement.getPool().setAttribute("virt_only", "1");
entitlement.getPool().setAttribute("requires_host", uuid);
Consumer guest1 = new Consumer();
guest1.setUuid("Guest 1");
guest1.addEntitlement(entitlement);
when(consumerCurator.findByVirtUuid("Guest 1",
existingHost.getOwner().getId())).thenReturn(guest1);
// Ensure that the guests host is the existing.
when(consumerCurator.getHost("Guest 1",