anchor.diff:          return message;
       }
   
  -    public void setMessage(String message) {
  -        this.message = message;
  -    }
  -
       public boolean isSuccess() {
           return success;
  -    }
  -
  -    public void setSuccess(boolean success) {
  -        this.success = success;
       }
   
   }
  
positive.code: @Consumes(MediaType.APPLICATION_JSON)
  public Result tryMeManualValidation(Book book) {
      Set<ConstraintViolation<Book>> violations = validator.validate(book);
      Result res = new Result();
      if (violations.isEmpty()) {
          res.success = true;
          res.message = "Book is valid! It was validated by manual validation.";
      } else {
          res.success = false;
          res.message = violations.stream()
              .map(cv -> cv.getMessage())
              .collect(Collectors.joining(", "));
      }
      return res;
  }
  ----
  
  
negative.code: @Produces(MediaType.APPLICATION_JSON)
  @Consumes(MediaType.APPLICATION_JSON)
  public Result tryMeEndPointMethodValidation(@Valid Book book) {
      return new Result("Book is valid! It was validated by end point method validation.");
  }
  ----
  
  