@Test
public void testGetResourcesNoPredicate() throws SystemException, UnsupportedPropertyException,
                                                 NoSuchParentResourceException, NoSuchResourceException {

  Request request = createNiceMock(Request.class);
  BlueprintEntity entity = createEntity(getBlueprintTestProperties().iterator().next());
  List<BlueprintEntity> results = new ArrayList<BlueprintEntity>();
  results.add(entity);
  // set expectations
  expect(dao.findAll()).andReturn(results);
  replay(dao, request);
  Set<Resource> setResults = provider.getResources(request, null);
  assertEquals(1, setResults.size());
  verify(dao);
  validateResource(setResults.iterator().next(), false);
}