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
importService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description VariantCategoryValidateInterceptorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
shouldEnsureVariantCategoryOrdering()
void
shouldInitializeTheInterceptor()
void
shouldOnlyAllowOneVariantCategoryIsSetInSubcategories()
void
shouldOnlyAllowOneVariantCategoryIsSetInSupercategories()
-
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, setModelService
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNone
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldInitializeTheInterceptor
public void shouldInitializeTheInterceptor()
-
shouldEnsureVariantCategoryOrdering
public void shouldEnsureVariantCategoryOrdering()
-
shouldOnlyAllowOneVariantCategoryIsSetInSupercategories
public void shouldOnlyAllowOneVariantCategoryIsSetInSupercategories()
-
shouldOnlyAllowOneVariantCategoryIsSetInSubcategories
public void shouldOnlyAllowOneVariantCategoryIsSetInSubcategories()
-
-