Class TmaPoVariantValidateInterceptorTest
- java.lang.Object
-
- de.hybris.platform.b2ctelcoservices.interceptors.TmaPoVariantValidateInterceptorTest
-
@UnitTest public class TmaPoVariantValidateInterceptorTest extends java.lang.ObjectUnit test forTmaPoVariantValidateInterceptor- Since:
- 1810
-
-
Constructor Summary
Constructors Constructor Description TmaPoVariantValidateInterceptorTest()
-
Method Summary
-
-
-
Method Detail
-
setUp
public void setUp()
-
givenSyncIsActive_thenValidationPasses
public void givenSyncIsActive_thenValidationPasses() throws de.hybris.platform.servicelayer.interceptor.InterceptorException- Throws:
de.hybris.platform.servicelayer.interceptor.InterceptorException
-
givenBaseProductWithoutCategories_thenValidationPasses
public void givenBaseProductWithoutCategories_thenValidationPasses() throws de.hybris.platform.servicelayer.interceptor.InterceptorException- Throws:
de.hybris.platform.servicelayer.interceptor.InterceptorException
-
givenVariantWithOneCategory_thenValidationPasses
public void givenVariantWithOneCategory_thenValidationPasses() throws de.hybris.platform.servicelayer.interceptor.InterceptorException- Throws:
de.hybris.platform.servicelayer.interceptor.InterceptorException
-
givenVariantWithTwoCategories_thenValidationPasses
public void givenVariantWithTwoCategories_thenValidationPasses() throws de.hybris.platform.servicelayer.interceptor.InterceptorException- Throws:
de.hybris.platform.servicelayer.interceptor.InterceptorException
-
givenVariantWithOneExtraCategory_thenValidationPasses
public void givenVariantWithOneExtraCategory_thenValidationPasses() throws de.hybris.platform.servicelayer.interceptor.InterceptorException- Throws:
de.hybris.platform.servicelayer.interceptor.InterceptorException
-
givenVariantWithoutBaseProduct_thenThrowNoBaseProductError
public void givenVariantWithoutBaseProduct_thenThrowNoBaseProductError() throws de.hybris.platform.servicelayer.interceptor.InterceptorException- Throws:
de.hybris.platform.servicelayer.interceptor.InterceptorException
-
givenVariantWithoutSupercategories_thenThrowWrongSupercategoryError
public void givenVariantWithoutSupercategories_thenThrowWrongSupercategoryError() throws de.hybris.platform.servicelayer.interceptor.InterceptorException- Throws:
de.hybris.platform.servicelayer.interceptor.InterceptorException
-
givenVariantCategoriesDoNotMatchBaseProductCategories_thenThrowNoSameAmountOfVariantCategoriesError
public void givenVariantCategoriesDoNotMatchBaseProductCategories_thenThrowNoSameAmountOfVariantCategoriesError() throws de.hybris.platform.servicelayer.interceptor.InterceptorException- Throws:
de.hybris.platform.servicelayer.interceptor.InterceptorException
-
givenVariantCategoriesAreNotInlineWithBaseProductCategories_thenThrowNoSameAmountOfVariantCategoriesError
public void givenVariantCategoriesAreNotInlineWithBaseProductCategories_thenThrowNoSameAmountOfVariantCategoriesError() throws de.hybris.platform.servicelayer.interceptor.InterceptorException- Throws:
de.hybris.platform.servicelayer.interceptor.InterceptorException
-
givenVariantCategoryDoesNotHaveBaseProductCategoryAsSuperCategory_thenThrowVariantCategoryNotInBaseProductError
public void givenVariantCategoryDoesNotHaveBaseProductCategoryAsSuperCategory_thenThrowVariantCategoryNotInBaseProductError() throws de.hybris.platform.servicelayer.interceptor.InterceptorException- Throws:
de.hybris.platform.servicelayer.interceptor.InterceptorException
-
-