use of io.dropwizard.jersey.params.IntParam in project dropwizard by dropwizard.
the class ParamValidatorUnwrapperTest method failsWithInvalidIntParam.
@Test
public void failsWithInvalidIntParam() {
final Example example = new Example();
example.inter = new IntParam("2");
final Set<ConstraintViolation<Example>> validate = validator.validate(example);
assertThat(validate).hasSize(1);
}
Aggregations