Assert.assertTrue(validator.isValid(null,context));
}
@Test
public void testThatAcceptsOnlyByteShortIntegerAndLong() {
StellaMaxValidator validator = new StellaMaxValidator();
validator.initialize(new Mirror().on(AnnotatedModel.class).reflect().annotation(Max.class).atField("b"));
Assert.assertTrue(validator.isValid((byte) 10,context));
Assert.assertTrue(validator.isValid((short) 10,context));
Assert.assertTrue(validator.isValid(10,context));
Assert.assertTrue(validator.isValid((long) 10,context));
}