Class ExcelCategoryFieldValidatorTest
- java.lang.Object
-
- com.hybris.backoffice.excel.validators.ExcelCategoryFieldValidatorTest
-
public class ExcelCategoryFieldValidatorTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringFIRST_CATALOGstatic java.lang.StringFIRST_CATEGORYstatic java.lang.StringFIRST_VERSIONstatic java.lang.StringNOT_BLANKstatic java.lang.StringNOT_EXISTING_CATEGORYstatic java.lang.StringSECOND_CATEGORY
-
Constructor Summary
Constructors Constructor Description ExcelCategoryFieldValidatorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetup()voidshouldHandleCategoryWhenAttributeIsCategoryProductRelation()voidshouldNotHandleCategoryWhenAttributeIsNotCategoryProductRelation()voidshouldNotHandleCategoryWhenAttributeIsNotRelationDescriptor()voidshouldNotHandleCategoryWhenCellIsEmpty()voidshouldNotReturnErrorWhenCategoryExists()voidshouldReturnErrorWhenCategoryDoesNotExist()
-
-
-
Field Detail
-
FIRST_CATALOG
public static final java.lang.String FIRST_CATALOG
- See Also:
- Constant Field Values
-
FIRST_VERSION
public static final java.lang.String FIRST_VERSION
- See Also:
- Constant Field Values
-
FIRST_CATEGORY
public static final java.lang.String FIRST_CATEGORY
- See Also:
- Constant Field Values
-
SECOND_CATEGORY
public static final java.lang.String SECOND_CATEGORY
- See Also:
- Constant Field Values
-
NOT_EXISTING_CATEGORY
public static final java.lang.String NOT_EXISTING_CATEGORY
- See Also:
- Constant Field Values
-
NOT_BLANK
public static final java.lang.String NOT_BLANK
- See Also:
- Constant Field Values
-
-
Method Detail
-
setup
public void setup()
-
shouldHandleCategoryWhenAttributeIsCategoryProductRelation
public void shouldHandleCategoryWhenAttributeIsCategoryProductRelation()
-
shouldNotHandleCategoryWhenCellIsEmpty
public void shouldNotHandleCategoryWhenCellIsEmpty()
-
shouldNotHandleCategoryWhenAttributeIsNotCategoryProductRelation
public void shouldNotHandleCategoryWhenAttributeIsNotCategoryProductRelation()
-
shouldNotHandleCategoryWhenAttributeIsNotRelationDescriptor
public void shouldNotHandleCategoryWhenAttributeIsNotRelationDescriptor()
-
shouldNotReturnErrorWhenCategoryExists
public void shouldNotReturnErrorWhenCategoryExists()
-
shouldReturnErrorWhenCategoryDoesNotExist
public void shouldReturnErrorWhenCategoryDoesNotExist()
-
-