@Test
public final void test_isValidResourceNames_happyPath() {

	String serviceName = "a-service-def";
	// setup service-def
	Date now = new Date();
	when(_serviceDef.getName()).thenReturn(serviceName );
	when(_serviceDef.getUpdateTime()).thenReturn(now);
	List<RangerResourceDef> resourceDefs = _utils.createResourceDefs(resourceDefData_multipleHierarchies);
	when(_serviceDef.getResources()).thenReturn(resourceDefs);
	// setup policy
	Map<String, RangerPolicyResource> policyResources = _utils.createPolicyResourceMap(policyResourceMap_goodMultipleHierarchies);				
	when(_policy.getResources()).thenReturn(policyResources);
	Assert.assertTrue(_validator.isValidResourceNames(_policy, _failures, _serviceDef));
}