### Question:
UniqueCheck extends AbstractAnnotationCheck<Unique> { @Override public void configure(Unique constraintAnnotation) { uniqueKeyContext = constraintAnnotation.value(); setMessage(constraintAnnotation.message()); primaryKeyColumn = constraintAnnotation.primaryKeyColumn(); } UniqueCheck(); @Override void configure(Unique constraintAnnotation); @Override Map<String, String> createMessageVariables(); @Override boolean isSatisfied(Object validatedObject, Object value,
            OValContext context, Validator validator);  }### Answer:
@Test public void testConfigureUnique() { testee.configure(uniqueAnnotation); assertThat(testee.getMessage()).isEqualTo(MESSAGE); assertThat( field("primaryKeyColumn").ofType(String.class).in(testee).get()) .isEqualTo(PK_COLUMN); assertThat( field("uniqueKeyContext").ofType(String.class).in(testee).get()) .isEqualTo(UK_CONTEXT); }