### Question:
Validator_int extends TypeValidator { public static Validator_int get( int nDims ) { checkDims( nDims ); if (nDims >= validators.length) return new Validator_int( nDims ); Validator_int v = validators[nDims]; if (v == null) v = validators[nDims] = new Validator_int( nDims ); return v; } private  Validator_int( int nDims ); static Validator_int get( int nDims ); Validator elementValidator(); @Override boolean validate( Object value ); @Override Object validateValue( Object value );  }### Answer:
@Test( expected = IllegalArgumentException.class ) public void constructor2() throws Exception { Validator_int.get( -1 ); }
@Test( expected = IllegalArgumentException.class ) public void constructor3() throws Exception { Validator_int.get( Validator.MAX_NDIMS+1 ); }