Class AnnotationsMappingRegistryTest

java.lang.Object
de.hybris.platform.validation.annotations.mapping.AnnotationsMappingRegistryTest

@UnitTest public class AnnotationsMappingRegistryTest extends Object
  • Constructor Details

    • AnnotationsMappingRegistryTest

      public AnnotationsMappingRegistryTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Throws:
      Exception
    • shouldInitializeWithEmptyGroupsAndMappingsIfThereIsNoPropertyConfigurationSet

      public void shouldInitializeWithEmptyGroupsAndMappingsIfThereIsNoPropertyConfigurationSet() throws Exception
      Throws:
      Exception
    • shouldInitlaizeWithJustGroupsIfThereIsNoPropertyConfigurationForConstraints

      public void shouldInitlaizeWithJustGroupsIfThereIsNoPropertyConfigurationForConstraints() throws Exception
      Throws:
      Exception
    • shouldInitializeWithGroupNamesContainingDotInTheName

      public void shouldInitializeWithGroupNamesContainingDotInTheName() throws Exception
      Throws:
      Exception
    • shouldInitializeWithGroupContainingEmptyTypesWhenNoValueInPropertyIsSet

      public void shouldInitializeWithGroupContainingEmptyTypesWhenNoValueInPropertyIsSet() throws Exception
      Throws:
      Exception
    • shouldInitializeWithGroupContainingEmptyTypesWhenValueContainsJustCommasAnEmptySpaces

      public void shouldInitializeWithGroupContainingEmptyTypesWhenValueContainsJustCommasAnEmptySpaces() throws Exception
      Throws:
      Exception
    • shouldInitializeWithGroupContainingEmptyTypesWhenValueContainsOneValidEntryAndMoreSpacesAndUselessCommas

      public void shouldInitializeWithGroupContainingEmptyTypesWhenValueContainsOneValidEntryAndMoreSpacesAndUselessCommas() throws Exception
      Throws:
      Exception
    • shouldHaveFiveConstraintAnnotationsRegistered

      public void shouldHaveFiveConstraintAnnotationsRegistered() throws Exception
      Throws:
      Exception
    • shouldHaveFiveGroupsOfAttributeTypesRegistered

      public void shouldHaveFiveGroupsOfAttributeTypesRegistered() throws Exception
      Throws:
      Exception
    • shouldValidateAssertFalseAsValidForSmallBoolean

      public void shouldValidateAssertFalseAsValidForSmallBoolean() throws Exception
      Throws:
      Exception
    • shouldValidateDecimalMaxAsValidForJavaLangLong

      public void shouldValidateDecimalMaxAsValidForJavaLangLong() throws Exception
      Throws:
      Exception
    • shouldValidateFutureAsValidForJavaUtilDate

      public void shouldValidateFutureAsValidForJavaUtilDate() throws Exception
      Throws:
      Exception
    • shouldValidateSizeAsValidForJavaUtilCollection

      public void shouldValidateSizeAsValidForJavaUtilCollection() throws Exception
      Throws:
      Exception
    • shouldValidateHybrisNotEmptyAsValidForJavaLangString

      public void shouldValidateHybrisNotEmptyAsValidForJavaLangString() throws Exception
      Throws:
      Exception
    • shouldValidateNotRegisteredAnnotationClassAsInvalid

      public void shouldValidateNotRegisteredAnnotationClassAsInvalid() throws Exception
      Throws:
      Exception
    • shouldValidateNotExistentPropertyTypeAsInvalid

      public void shouldValidateNotExistentPropertyTypeAsInvalid() throws Exception
      Throws:
      Exception