@Test
public final void test_isValidResourceFlags_failures() {

	// passing true when def says false/null
	List<RangerResourceDef> resourceDefs = _utils.createResourceDefs(resourceDef_happyPath);
	Map<String, RangerPolicyResource> resourceMap = _utils.createPolicyResourceMap(policyResourceMap_failures);
	when(_serviceDef.getResources()).thenReturn(resourceDefs);
	// should not error out on
	Assert.assertFalse(_validator.isValidResourceFlags(resourceMap, _failures, resourceDefs, "a-service-def", "a-policy", false));
	_utils.checkFailureForSemanticError(_failures, "isExcludes", "tbl");
	_utils.checkFailureForSemanticError(_failures, "isRecursive", "col");
	_utils.checkFailureForSemanticError(_failures, "isExcludes", "isAdmin");
}