Class ExcelEnumFieldValidatorTest
- java.lang.Object
-
- com.hybris.backoffice.excel.validators.ExcelEnumFieldValidatorTest
-
public class ExcelEnumFieldValidatorTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCHECK
-
Constructor Summary
Constructors Constructor Description ExcelEnumFieldValidatorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidshouldHandleWhenCellValueIsNotBlankAndAttributeIsEnum()voidshouldNotHandleWhenAttributeIsNotEnum()voidshouldNotHandleWhenCellIsEmpty()voidshouldNotReturnValidationErrorWhenCellHasEnumValue()voidshouldReturnValidationErrorWhenCellDoesntHaveEnumValue()voidshouldReturnValidationErrorWhenEnumTypeDoesntExist()
-
-
-
Field Detail
-
CHECK
public static final java.lang.String CHECK
- See Also:
- Constant Field Values
-
-
Method Detail
-
shouldHandleWhenCellValueIsNotBlankAndAttributeIsEnum
public void shouldHandleWhenCellValueIsNotBlankAndAttributeIsEnum()
-
shouldNotHandleWhenCellIsEmpty
public void shouldNotHandleWhenCellIsEmpty()
-
shouldNotHandleWhenAttributeIsNotEnum
public void shouldNotHandleWhenAttributeIsNotEnum()
-
shouldNotReturnValidationErrorWhenCellHasEnumValue
public void shouldNotReturnValidationErrorWhenCellHasEnumValue()
-
shouldReturnValidationErrorWhenCellDoesntHaveEnumValue
public void shouldReturnValidationErrorWhenCellDoesntHaveEnumValue()
-
shouldReturnValidationErrorWhenEnumTypeDoesntExist
public void shouldReturnValidationErrorWhenEnumTypeDoesntExist()
-
-