### Question:
ConstraintValidatorContextDecorator implements ConstraintValidatorContext { @Override public <T> T unwrap(Class<T> type) { return context.unwrap(type); } ConstraintValidatorContextDecorator(ConstraintValidatorContext context); @SuppressWarnings("unchecked") static List<Object> getArguments(ConstraintViolation violation); @SuppressWarnings("unchecked") static Object[] getArgumentsArray(ConstraintViolation violation); ConstraintValidatorContextDecorator setArguments(Object... arguments); ConstraintValidatorContextDecorator setArguments(List<Object> arguments); @Override void disableDefaultConstraintViolation(); @Override String getDefaultConstraintMessageTemplate(); @Override ConstraintViolationBuilder buildConstraintViolationWithTemplate(String messageTemplate); @Override T unwrap(Class<T> type); static final String ARGUMENTS; }### Answer:
@Test public void unwrap_wereExecutedOnContext_success() { decorator.unwrap(String.class); verify(context).unwrap(String.class); }