Class ClassificationClassSupercategoriesUnassigningPrepareInterceptorIntegrationTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.ServicelayerTest
com.hybris.classificationgroupsservices.interceptors.AbstractGroupAssignmentPrepareInterceptorIntegrationTest
com.hybris.classificationgroupsservices.interceptors.classificationclass.ClassificationClassSupercategoriesUnassigningPrepareInterceptorIntegrationTest
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest
public class ClassificationClassSupercategoriesUnassigningPrepareInterceptorIntegrationTest
extends AbstractGroupAssignmentPrepareInterceptorIntegrationTest
-
Field Summary
Fields inherited from class com.hybris.classificationgroupsservices.interceptors.AbstractGroupAssignmentPrepareInterceptorIntegrationTest
catalogVersionService, categoryService, DEVICE_CATEGORY, DIMENSIONS_ATTRIBUTE, flexibleSearchService, ITEM_CATEGORY, modelService, OBJECT_CATEGORY, PHONE_CATEGORY, PRICE_ATTRIBUTE, RAM_ATTRIBUTE, SAMSUNG_CATEGORY, TOUCH_ID_ATTRIBUTE, WEIGHT_ATTRIBUTEFields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importServiceFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionprotected ClassAttributeAssignmentModelfindClassAttributeAssignment(String attributeCode, ClassificationClassModel category) protected ClassFeatureGroupAssignmentModelfindClassFeatureGroupAssignment(ClassAttributeAssignmentModel classAttributeAssignment, ClassificationClassModel category) protected ClassFeatureGroupModelfindClassGroupFeature(String groupCode) voidsetUp()voidvoidvoidvoidvoidvoidvoidMethods inherited from class com.hybris.classificationgroupsservices.interceptors.AbstractGroupAssignmentPrepareInterceptorIntegrationTest
assertClassFeatureGroupAssignments, createCategory, finaAllClassFeatureGroupAssignments, findClassAttributeAssignment, findClassAttributeAssignment, getClassificationAttributeAssignmentMethods 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
-
ClassificationClassSupercategoriesUnassigningPrepareInterceptorIntegrationTest
public ClassificationClassSupercategoriesUnassigningPrepareInterceptorIntegrationTest()
-
-
Method Details
-
setUp
- Throws:
ImpExException
-
shouldRemoveGroupAssignmentsIfUserReplaceSupercategory
public void shouldRemoveGroupAssignmentsIfUserReplaceSupercategory() -
shouldRemoveGroupAssignmentsIfUserUnassignsSupercategory
public void shouldRemoveGroupAssignmentsIfUserUnassignsSupercategory() -
shouldRemoveGroupAssignmentsInSubcategoriesDuringEditingSupercategories
public void shouldRemoveGroupAssignmentsInSubcategoriesDuringEditingSupercategories() -
shouldNotCreateDuplicateGroupAssignments
public void shouldNotCreateDuplicateGroupAssignments() -
shouldNotRemoveGroupAssignmentsDuringRemovingSupercategoryWithDuplicateAttributeAssignment
public void shouldNotRemoveGroupAssignmentsDuringRemovingSupercategoryWithDuplicateAttributeAssignment() -
shouldNotRemoveClassFeatureGroupAssignmentInSubCategoryWhileDuplicateSupercategories
public void shouldNotRemoveClassFeatureGroupAssignmentInSubCategoryWhileDuplicateSupercategories() throws ImpExException- Throws:
ImpExException
-
shouldNotRemoveClassFeatureGroupAssignmentFromGroupDuringMergingSupercategories
public void shouldNotRemoveClassFeatureGroupAssignmentFromGroupDuringMergingSupercategories() throws ImpExException- Throws:
ImpExException
-
findClassGroupFeature
-
findClassFeatureGroupAssignment
protected ClassFeatureGroupAssignmentModel findClassFeatureGroupAssignment(ClassAttributeAssignmentModel classAttributeAssignment, ClassificationClassModel category) -
findClassAttributeAssignment
protected ClassAttributeAssignmentModel findClassAttributeAssignment(String attributeCode, ClassificationClassModel category)
-