Class ExcelDateFieldValidatorTest
- java.lang.Object
-
- com.hybris.backoffice.excel.validators.ExcelDateFieldValidatorTest
-
public class ExcelDateFieldValidatorTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ExcelDateFieldValidatorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidshouldHandleWhenCellValueIsNotBlankAndAttributeIsDate()voidshouldNotHandleWhenAttributeIsNotDate()voidshouldNotHandleWhenCellIsEmpty()voidshouldNotReturnValidationErrorWhenCellHasDateValue()voidshouldReturnValidationErrorWhenCellDoesntHaveDateValue()
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldHandleWhenCellValueIsNotBlankAndAttributeIsDate
public void shouldHandleWhenCellValueIsNotBlankAndAttributeIsDate()
-
shouldNotHandleWhenCellIsEmpty
public void shouldNotHandleWhenCellIsEmpty()
-
shouldNotHandleWhenAttributeIsNotDate
public void shouldNotHandleWhenAttributeIsNotDate()
-
shouldNotReturnValidationErrorWhenCellHasDateValue
public void shouldNotReturnValidationErrorWhenCellHasDateValue()
-
shouldReturnValidationErrorWhenCellDoesntHaveDateValue
public void shouldReturnValidationErrorWhenCellDoesntHaveDateValue()
-
-