Class NotNullValidatorTest


  • public class NotNullValidatorTest
    extends Object
    Checks correct behaviour of NotNullValidator.

    Per the spec:

    • The annotated element must not 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.2"
    • Constructor Detail

      • NotNullValidatorTest

        public NotNullValidatorTest()
    • Method Detail

      • testNotNullValidator

        public void testNotNullValidator()
        Test NotNullValidator with null context.