@Test public void testNull() { assertTrue(victim.isValid(null, null)); }
@Override public boolean isValid(File value, ConstraintValidatorContext context) { if (value != null && value.exists()) { return value.isFile(); } return true; }
FileValidator implements ConstraintValidator<IsFile, File> { @Override public boolean isValid(File value, ConstraintValidatorContext context) { if (value != null && value.exists()) { return value.isFile(); } return true; } }
FileValidator implements ConstraintValidator<IsFile, File> { @Override public boolean isValid(File value, ConstraintValidatorContext context) { if (value != null && value.exists()) { return value.isFile(); } return true; }  }
FileValidator implements ConstraintValidator<IsFile, File> { @Override public boolean isValid(File value, ConstraintValidatorContext context) { if (value != null && value.exists()) { return value.isFile(); } return true; }  @Override void initialize(IsFile constraintAnnotation); @Override boolean isValid(File value, ConstraintValidatorContext context); }
FileValidator implements ConstraintValidator<IsFile, File> { @Override public boolean isValid(File value, ConstraintValidatorContext context) { if (value != null && value.exists()) { return value.isFile(); } return true; }  @Override void initialize(IsFile constraintAnnotation); @Override boolean isValid(File value, ConstraintValidatorContext context);  }