@Test
public void test_isValidItemAccesses_failure() {

	// null policy item access values are an error
	List<RangerPolicyItemAccess> accesses = new ArrayList<>();
	accesses.add(null);
	_failures.clear(); Assert.assertFalse(_validator.isValidItemAccesses(accesses, _failures, _serviceDef));
	_utils.checkFailureForMissingValue(_failures, "policy item access");
	// all items must be valid for this call to be valid
	Object[][] data = new Object[][] {
			{ "a", null }, // valid
			{ null, null }, // invalid - name can't be null
			{ "c", true }, // valid
	};
	accesses = _utils.createItemAccess(data);
	_serviceDef = _utils.createServiceDefWithAccessTypes(new String[] { "a", "b", "c", "d" });
	_failures.clear(); Assert.assertFalse(_validator.isValidItemAccesses(accesses, _failures, _serviceDef));
}