Package com.totvs.tjf.test.support
Class ConstraintAsserts.AssertConstraintViolation<T>
java.lang.Object
com.totvs.tjf.test.support.ConstraintAsserts.AssertConstraintViolation<T>
- Type Parameters:
T- the type of the validated object.
- Enclosing class:
- ConstraintAsserts
Assert helper for the violation identified in the bean validation process.
-
Method Summary
Modifier and TypeMethodDescriptionvoidwithMessage(String expected) Assert that the violation is has the same message as the supplied one.
-
Method Details
-
withMessage
Assert that the violation is has the same message as the supplied one.
-