Class AttributeConstraintValidatorTest

java.lang.Object
de.hybris.platform.validation.interceptors.AttributeConstraintValidatorTest

@UnitTest public class AttributeConstraintValidatorTest extends Object
  • Constructor Details

    • AttributeConstraintValidatorTest

      public AttributeConstraintValidatorTest()
  • Method Details

    • shouldValidateNotEmptyAnnotationAsValidForJavaLangStringProperty

      public void shouldValidateNotEmptyAnnotationAsValidForJavaLangStringProperty() throws Exception
      Throws:
      Exception
    • shouldThrowAnExceptionWhenConstraintDescriptorAndTypeIsNullButQualifierRerersToPropertyWithoutAccessor

      public void shouldThrowAnExceptionWhenConstraintDescriptorAndTypeIsNullButQualifierRerersToPropertyWithoutAccessor() throws Exception
      Throws:
      Exception
    • shouldThrowAnExceptionWhenConstraintDescriptorAbdTypeIsPresentButQualifierRerersToPropertyWithoutAccessor

      public void shouldThrowAnExceptionWhenConstraintDescriptorAbdTypeIsPresentButQualifierRerersToPropertyWithoutAccessor() throws Exception
      Throws:
      Exception
    • shouldThrowAnExceptionWhenConstraintDescriptorIsNullButTypeIsSet

      public void shouldThrowAnExceptionWhenConstraintDescriptorIsNullButTypeIsSet() throws Exception
      Throws:
      Exception
    • shouldThrowAnExceptionWhenConstraintTypeIsNullButDescriptorIsSet

      public void shouldThrowAnExceptionWhenConstraintTypeIsNullButDescriptorIsSet() throws Exception
      Throws:
      Exception
    • shouldThrowAnExceptionWhenConstraintQualifierIsNull

      public void shouldThrowAnExceptionWhenConstraintQualifierIsNull() throws Exception
      Throws:
      Exception
    • shouldThrowAnExceptionWhenConstraintQualifierIsEmpty

      public void shouldThrowAnExceptionWhenConstraintQualifierIsEmpty() throws Exception
      Throws:
      Exception