Class VariantProductValidateInterceptorUnitTest
java.lang.Object
de.hybris.platform.product.interceptors.VariantProductValidateInterceptorUnitTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprepare()voidvoidvoidvoidvoidvoidcasevoidcasevoidcasevoidcasevoid
-
Constructor Details
-
VariantProductValidateInterceptorUnitTest
public VariantProductValidateInterceptorUnitTest()
-
-
Method Details
-
prepare
public void prepare() -
testValidateForNull
public void testValidateForNull() -
testValidateForNotAVariantProduct
- Throws:
InterceptorException
-
testValidateForAVariantProduct
- Throws:
InterceptorException
-
testValidateForVariantProductWhenNew
- Throws:
InterceptorException
-
testValidateForVariantProductWhenBaseProductChanged
- Throws:
InterceptorException
-
testValidateForVariantProductWithNullBaseProductType
public void testValidateForVariantProductWithNullBaseProductType() -
testValidateForVariantProductWithIncompatibleBaseProductType
public void testValidateForVariantProductWithIncompatibleBaseProductType()casebase product variantType -> Shoe
variant product type -> Shirt
-
testValidateForVariantProductWithCompatibleBaseProductTypeMoreSpecific
public void testValidateForVariantProductWithCompatibleBaseProductTypeMoreSpecific()casebase product variantType -> Shirt
variant product type -> FancyShirt (more specific)
-
testValidateForVariantProductWithCompatibleBaseProductType
public void testValidateForVariantProductWithCompatibleBaseProductType() throws InterceptorExceptioncasebase product variantType -> Shirt
variant product type -> Shirt
- Throws:
InterceptorException
-
testValidateForVariantProductWithIncompatibleBaseProductTypeTooSpecific
public void testValidateForVariantProductWithIncompatibleBaseProductTypeTooSpecific()casebase product variantType -> FancyShirt (more specific)
variant product type -> Shirt
-