Class NullValidatorTest


  • public class NullValidatorTest
    extends Object
    Checks correct behaviour of NullValidator.

    Per the spec:

    • The annotated element must be null.
    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.1"
    • Constructor Detail

      • NullValidatorTest

        public NullValidatorTest()
    • Method Detail

      • testNullValidator

        public void testNullValidator()
        Test AssertFalseValidator with null context.