@Test void testSupportsString() { assertFalse(entityValidator.supports(String.class)); }
@Override public boolean supports(@Nonnull Class<?> clazz) { return Entity.class.isAssignableFrom(clazz); }
EntityValidator implements Validator { @Override public boolean supports(@Nonnull Class<?> clazz) { return Entity.class.isAssignableFrom(clazz); } }
EntityValidator implements Validator { @Override public boolean supports(@Nonnull Class<?> clazz) { return Entity.class.isAssignableFrom(clazz); } EntityValidator(ExpressionValidator expressionValidator); }
EntityValidator implements Validator { @Override public boolean supports(@Nonnull Class<?> clazz) { return Entity.class.isAssignableFrom(clazz); } EntityValidator(ExpressionValidator expressionValidator); @Override boolean supports(@Nonnull Class<?> clazz); @Override void validate(@Nonnull Object target, @Nonnull Errors errors); }
EntityValidator implements Validator { @Override public boolean supports(@Nonnull Class<?> clazz) { return Entity.class.isAssignableFrom(clazz); } EntityValidator(ExpressionValidator expressionValidator); @Override boolean supports(@Nonnull Class<?> clazz); @Override void validate(@Nonnull Object target, @Nonnull Errors errors);  }