Class AttributeConstraintValidatorTest
- java.lang.Object
-
- de.hybris.platform.validation.interceptors.AttributeConstraintValidatorTest
-
@UnitTest public class AttributeConstraintValidatorTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AttributeConstraintValidatorTest()
-
Method Summary
-
-
-
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
-
-