@Test
public void test_isValidResourceValues() {

	List<RangerResourceDef> resourceDefs = _utils.createResourceDefs(resourceDefData);
	when(_serviceDef.getResources()).thenReturn(resourceDefs);
	Map<String, RangerPolicyResource> policyResources = _utils.createPolicyResourceMap(policyResourceMap_bad);
	Assert.assertFalse(_validator.isValidResourceValues(policyResources, _failures, _serviceDef));
	_utils.checkFailureForSemanticError(_failures, "resource-values", "col");
	
	policyResources = _utils.createPolicyResourceMap(policyResourceMap_good);
	Assert.assertTrue(_validator.isValidResourceValues(policyResources, _failures, _serviceDef));
}