public class StellaLengthValidatorTest {
private ConstraintValidatorContext context = Mockito.mock(ConstraintValidatorContext.class);
@Test
public void testThatNullIsValid() {
StellaLengthValidator validator = new StellaLengthValidator();
validator.initialize(new Mirror().on(AnnotatedModel.class).reflect().annotation(Length.class).atField("foo"));
Assert.assertTrue(validator.isValid(null, context));
}