### Question:
EarlierThanCheck extends AbstractCompareableCheck<EarlierThan> { @Override public void configure(final EarlierThan constraintAnnotation) { LOG.debug("BeforeThanCheck.configure"); super.configure(constraintAnnotation); setMessage(constraintAnnotation.message()); setReferencedField(constraintAnnotation.value()); } EarlierThanCheck(); @Override void configure(final EarlierThan constraintAnnotation); static final String MESSAGE; }### Answer:
@Test public void testConfigurationOdCheck() { testee.configure(mockBeforeThanAnnotation); assertThat(testee.getMessage()).isEqualTo(MESSAGE); assertThat( field("referencedField").ofType(String.class).in(testee).get()) .isEqualTo(REFERENCE_COLUMN); }