How to raise a ConstraintValidationException in a test case for bean properties with validation annotations?

前端 未结 0 1534
清酒与你
清酒与你 2020-12-24 00:10

I\'m trying to test that my beans have correct validation annotations. I\'m using spring-boot. Here is an example test case:

package com.example.sandbox;

imp         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题