@Test
public final void test_isValidResources_happyPath() {

	Object[][] data = new Object[][] {
		//  { id,   level,      name }
			{ 1L,     -10, "database" }, // -ve value for level
			{ 3L,       0,    "table" }, // it is ok for id and level to skip values
			{ 5L,      10,   "column" }, // it is ok for level to skip values
	};
	List<RangerResourceDef> resources = _utils.createResourceDefsWithIds(data);
	when(_serviceDef.getResources()).thenReturn(resources);
	assertTrue(_validator.isValidResources(_serviceDef, _failures, Action.CREATE));
	assertTrue(_failures.isEmpty());
}