Class CustomValidatorTest


  • public class CustomValidatorTest
    extends Object
    • Field Detail

      • logger

        private static final org.slf4j.Logger logger
      • vf

        private javax.validation.ValidatorFactory vf
      • val

        private javax.validation.Validator val
    • Constructor Detail

      • CustomValidatorTest

        public CustomValidatorTest()
    • Method Detail

      • testMinAgeValid

        public void testMinAgeValid()
        This test demonstrates the custom @MinAge validation for the Drivers group.
      • testMinAgeInValid

        public void testMinAgeInValid()
      • testComposite

        public void testComposite()