Class AttributeConstraintValidatorTest


  • @UnitTest
    public class AttributeConstraintValidatorTest
    extends java.lang.Object
    • Constructor Detail

      • AttributeConstraintValidatorTest

        public AttributeConstraintValidatorTest()
    • Method Detail

      • shouldValidateNotEmptyAnnotationAsValidForJavaLangStringProperty

        public void shouldValidateNotEmptyAnnotationAsValidForJavaLangStringProperty()
                                                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldThrowAnExceptionWhenConstraintDescriptorAndTypeIsNullButQualifierRerersToPropertyWithoutAccessor

        public void shouldThrowAnExceptionWhenConstraintDescriptorAndTypeIsNullButQualifierRerersToPropertyWithoutAccessor()
                                                                                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldThrowAnExceptionWhenConstraintDescriptorAbdTypeIsPresentButQualifierRerersToPropertyWithoutAccessor

        public void shouldThrowAnExceptionWhenConstraintDescriptorAbdTypeIsPresentButQualifierRerersToPropertyWithoutAccessor()
                                                                                                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldThrowAnExceptionWhenConstraintDescriptorIsNullButTypeIsSet

        public void shouldThrowAnExceptionWhenConstraintDescriptorIsNullButTypeIsSet()
                                                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldThrowAnExceptionWhenConstraintTypeIsNullButDescriptorIsSet

        public void shouldThrowAnExceptionWhenConstraintTypeIsNullButDescriptorIsSet()
                                                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldThrowAnExceptionWhenConstraintQualifierIsNull

        public void shouldThrowAnExceptionWhenConstraintQualifierIsNull()
                                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldThrowAnExceptionWhenConstraintQualifierIsEmpty

        public void shouldThrowAnExceptionWhenConstraintQualifierIsEmpty()
                                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception