### Question:
ArgumentUtil { @SuppressWarnings ( value = "fallthrough" ) static public boolean isValid(DataField dataField, Object value){ if(value == null){ return false; } DataType dataType = dataField.getDataType(); value = TypeUtil.parseOrCast(dataType, value); OpType opType = dataField.getOptype(); switch(opType){ case CONTINUOUS: { Double doubleValue = (Double)TypeUtil.cast(DataType.DOUBLE, value); int intervalCount = 0; List<Interval> fieldIntervals = dataField.getIntervals(); for(Interval fieldInterval : fieldIntervals){ intervalCount += 1; if(DiscretizationUtil.contains(fieldInterval, doubleValue)){ return true; } } if(intervalCount > 0){ return false; } } case CATEGORICAL: case ORDINAL: { int validValueCount = 0; List<Value> fieldValues = dataField.getValues(); for(Value fieldValue : fieldValues){ Value.Property property = fieldValue.getProperty(); switch(property){ case VALID: { validValueCount += 1; boolean equals = TypeUtil.equals(dataType, value, TypeUtil.parseOrCast(dataType, fieldValue.getValue())); if(equals){ return true; } } break; case INVALID: { boolean equals = TypeUtil.equals(dataType, value, TypeUtil.parseOrCast(dataType, fieldValue.getValue())); if(equals){ return false; } } break; case MISSING: break; default: throw new UnsupportedFeatureException(fieldValue, property); } } if(validValueCount > 0){ return false; } } break; default: throw new UnsupportedFeatureException(dataField, opType); } return true; } private  ArgumentUtil(); @SuppressWarnings ( value = {"unused"} ) static FieldValue prepare(DataField dataField, MiningField miningField, Object value); static boolean isOutlier(DataField dataField, Object value); static boolean isMissing(DataField dataField, Object value); static boolean isInvalid(DataField dataField, Object value); @SuppressWarnings ( value = "fallthrough" ) static boolean isValid(DataField dataField, Object value); static List<String> getValidValues(TypeDefinitionField field);  }### Answer:
@Test public void isValid(){ assertFalse(ArgumentUtil.isValid(null, null)); }