Class DelayedReleaseDateStrategyTest
- java.lang.Object
-
- de.hybris.platform.warehousing.asn.strategy.impl.DelayedReleaseDateStrategyTest
-
@UnitTest public class DelayedReleaseDateStrategyTest extends java.lang.Object
Test for delayed release date calculation.
-
-
Constructor Summary
Constructors Constructor Description DelayedReleaseDateStrategyTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidshouldGetAsnDate()Should return release date same as on ASN, as there was an Exception thrown when trying to retrieve data from configuration.voidshouldGetExpectedDelayedDate()Should return release date from ASN increased by 3 days, as configuration property value is 3.
-
-
-
Method Detail
-
setUp
public void setUp() throws java.text.ParseException- Throws:
java.text.ParseException
-
shouldGetExpectedDelayedDate
public void shouldGetExpectedDelayedDate() throws java.text.ParseExceptionShould return release date from ASN increased by 3 days, as configuration property value is 3.- Throws:
java.text.ParseException
-
shouldGetAsnDate
public void shouldGetAsnDate()
Should return release date same as on ASN, as there was an Exception thrown when trying to retrieve data from configuration.
-
-