private ConstraintValidatorContext context = Mockito.mock(ConstraintValidatorContext.class);
@Test
public void testThatNullIsValid() {
StellaMaxElementsValidator validator = new StellaMaxElementsValidator();
validator
.initialize(new Mirror().on(AnnotatedModel.class).reflect().annotation(MaxElements.class).atField("c"));
Assert.assertTrue(validator.isValid(null, context));
}
@Test(expected = IllegalStateException.class)