Class AssertFalseValidatorTest


  • public class AssertFalseValidatorTest
    extends Object
    Checks correct behaviour of AssertFalseValidator.

    Per the spec:

    • The annotated element must be false.
    • null elements are considered valid.
    TODO: Mock context and verify that it's not used during validation.
    Author:
    Carlos Vara
    See Also:
    "bean_validation-1_0_CR1-pfd-spec#Chapter6#Example6.4"
    • Constructor Detail

      • AssertFalseValidatorTest

        public AssertFalseValidatorTest()
    • Method Detail

      • testAssertFalseValidator

        public void testAssertFalseValidator()
        Test AssertFalseValidator with null context.