@Test
public void test_isValid_integer() {

	String fieldName = "field-Name";
	String collectionName = "field-collection-Name";
	Set<Integer> alreadySeen = new HashSet<>();
	Integer value = null;
	// null value is invalid
	Assert.assertFalse(_validator.isUnique(value, alreadySeen, fieldName, collectionName, _failures));
	_utils.checkFailureForMissingValue(_failures, fieldName);
	// value should not have been seen so far.
	value = 49;
	_failures.clear(); Assert.assertTrue(_validator.isUnique(value, alreadySeen, fieldName, collectionName, _failures));
	Assert.assertTrue(_failures.isEmpty());
	Assert.assertTrue(alreadySeen.contains(value));
	// since 7L has already been seen doing this test again should fail
	_failures.clear(); Assert.assertFalse(_validator.isUnique(value, alreadySeen, fieldName, collectionName, _failures));
	_utils.checkFailureForSemanticError(_failures, fieldName, value.toString());
}