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

  StackInfo info = createMock(StackInfo.class);
  expect(info.getConfigPropertiesTypes("core-site")).andReturn(new HashMap<PropertyInfo.PropertyType, Set<String>>()).anyTimes();
  expect(metaInfo.getStack("test-stack-name", "test-stack-version")).andReturn(info).anyTimes();
  replay(info, metaInfo);
  Request request = createNiceMock(Request.class);
  Set<Map<String, Object>> testProperties = getBlueprintTestProperties();
  setConfigurationProperties(testProperties);
  BlueprintEntity entity = createEntity(testProperties.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(), true);
}