### Question:
CheckExpressionOperandsSizeValidator implements ConstraintValidator<CheckExpressionOperandsSize,
        List<ClientExpression>>, ValidationErrorDescriptorBuilder { @Override public ErrorDescriptor build(ConstraintViolation violation) { return QUERY_EXPRESSION_OPERANDS_SIZE_OF_BOUND.createDescriptor(violation.getPropertyPath().toString(), annotationMin.toString(), annotationMax.toString()); }  @Override void initialize(CheckExpressionOperandsSize constraintAnnotation); @Override boolean isValid(List<ClientExpression> value, ConstraintValidatorContext context); @Override ErrorDescriptor build(ConstraintViolation violation);  }### Answer:
@Test public void build_success() { Path path = mock(Path.class); when(path.toString()).thenReturn("path1"); ConstraintViolation violation = mock(ConstraintViolation.class); when(violation.getPropertyPath()).thenReturn(path); ErrorDescriptor errorDescriptor = validator.build(violation); assertEquals(QUERY_EXPRESSION_OPERANDS_SIZE_OF_BOUND.createDescriptor("path1", "1", "2"), errorDescriptor); }