Class AnnotationsMappingRegistryTest


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

      • AnnotationsMappingRegistryTest

        public AnnotationsMappingRegistryTest()
    • Method Detail

      • setUp

        public void setUp()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldInitializeWithEmptyGroupsAndMappingsIfThereIsNoPropertyConfigurationSet

        public void shouldInitializeWithEmptyGroupsAndMappingsIfThereIsNoPropertyConfigurationSet()
                                                                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldInitlaizeWithJustGroupsIfThereIsNoPropertyConfigurationForConstraints

        public void shouldInitlaizeWithJustGroupsIfThereIsNoPropertyConfigurationForConstraints()
                                                                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldInitializeWithGroupNamesContainingDotInTheName

        public void shouldInitializeWithGroupNamesContainingDotInTheName()
                                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldInitializeWithGroupContainingEmptyTypesWhenNoValueInPropertyIsSet

        public void shouldInitializeWithGroupContainingEmptyTypesWhenNoValueInPropertyIsSet()
                                                                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldInitializeWithGroupContainingEmptyTypesWhenValueContainsJustCommasAnEmptySpaces

        public void shouldInitializeWithGroupContainingEmptyTypesWhenValueContainsJustCommasAnEmptySpaces()
                                                                                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldInitializeWithGroupContainingEmptyTypesWhenValueContainsOneValidEntryAndMoreSpacesAndUselessCommas

        public void shouldInitializeWithGroupContainingEmptyTypesWhenValueContainsOneValidEntryAndMoreSpacesAndUselessCommas()
                                                                                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldHaveFiveConstraintAnnotationsRegistered

        public void shouldHaveFiveConstraintAnnotationsRegistered()
                                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldHaveFiveGroupsOfAttributeTypesRegistered

        public void shouldHaveFiveGroupsOfAttributeTypesRegistered()
                                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldValidateAssertFalseAsValidForSmallBoolean

        public void shouldValidateAssertFalseAsValidForSmallBoolean()
                                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldValidateDecimalMaxAsValidForJavaLangLong

        public void shouldValidateDecimalMaxAsValidForJavaLangLong()
                                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldValidateFutureAsValidForJavaUtilDate

        public void shouldValidateFutureAsValidForJavaUtilDate()
                                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldValidateSizeAsValidForJavaUtilCollection

        public void shouldValidateSizeAsValidForJavaUtilCollection()
                                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldValidateHybrisNotEmptyAsValidForJavaLangString

        public void shouldValidateHybrisNotEmptyAsValidForJavaLangString()
                                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldValidateNotRegisteredAnnotationClassAsInvalid

        public void shouldValidateNotRegisteredAnnotationClassAsInvalid()
                                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldValidateNotExistentPropertyTypeAsInvalid

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