Resource resource = new ResourceImpl(Resource.Type.HostComponent);
String propertyId = PropertyHelper.getPropertyId("category1", "foo");
Predicate predicate = new GreaterEqualsPredicate<Integer>(propertyId, 10);
resource.setProperty(propertyId, 1);
Assert.assertFalse(predicate.evaluate(resource));
resource.setProperty(propertyId, 100);
Assert.assertTrue(predicate.evaluate(resource));
resource.setProperty(propertyId, 10);