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

public static class ConstraintAsserts.AssertConstraintViolation<T> extends Object
Assert helper for the violation identified in the bean validation process.
  • Method Details

    • withMessage

      public void withMessage(@NonNull String expected)
      Assert that the violation is has the same message as the supplied one.