Class VariantCategoryValidateInterceptorTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.ServicelayerTest
de.hybris.platform.servicelayer.ServicelayerTransactionalTest
de.hybris.platform.basecommerce.util.AbstractCommerceServicelayerTransactionalTest
de.hybris.platform.variants.interceptor.VariantCategoryValidateInterceptorTest
- All Implemented Interfaces:
JaloSessionHolder
public class VariantCategoryValidateInterceptorTest
extends AbstractCommerceServicelayerTransactionalTest
-
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importServiceFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.hybris.platform.basecommerce.util.AbstractCommerceServicelayerTransactionalTest
createCatalog, createCatalogVersion, createCategory, createDefaultCatalogVersion, createGenericVariantProduct, createProduct, createUnit, createVariantCategory, createVariantType, createVariantValueCategory, getCategoryService, getDefaultCatalogId, getDefaultCatalogVersion, getModelService, save, setCategoryService, setModelServiceMethods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneMethods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
VariantCategoryValidateInterceptorTest
public VariantCategoryValidateInterceptorTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
shouldInitializeTheInterceptor
public void shouldInitializeTheInterceptor() -
shouldEnsureVariantCategoryOrdering
public void shouldEnsureVariantCategoryOrdering() -
shouldOnlyAllowOneVariantCategoryIsSetInSupercategories
public void shouldOnlyAllowOneVariantCategoryIsSetInSupercategories() -
shouldOnlyAllowOneVariantCategoryIsSetInSubcategories
public void shouldOnlyAllowOneVariantCategoryIsSetInSubcategories()
-