@Test
public void testGetResources_none() throws Exception {

  @SuppressWarnings("unchecked")
  ResourceProvider provider = init();
  PredicateBuilder pb = new PredicateBuilder().property(
      HostComponentProcessResourceProvider.HC_PROCESS_CLUSTER_NAME_ID).equals("c1").and();
  pb = pb.property(
      HostComponentProcessResourceProvider.HC_PROCESS_HOST_NAME_ID).equals("h1").and();
  Predicate predicate = pb.property(
      HostComponentProcessResourceProvider.HC_PROCESS_COMPONENT_NAME_ID).equals("comp1").toPredicate();
  
  Request request = PropertyHelper.getReadRequest(Collections.<String>emptySet());
  
  Set<Resource> resources = provider.getResources(request, predicate);
  
  Assert.assertEquals(Integer.valueOf(0), Integer.valueOf(resources.size()));
}