Class DelayedReleaseDateStrategyTest

java.lang.Object
de.hybris.platform.warehousing.asn.strategy.impl.DelayedReleaseDateStrategyTest

@UnitTest public class DelayedReleaseDateStrategyTest extends Object
Test for delayed release date calculation.
  • Constructor Details

    • DelayedReleaseDateStrategyTest

      public DelayedReleaseDateStrategyTest()
  • Method Details

    • setUp

      public void setUp() throws ParseException
      Throws:
      ParseException
    • shouldGetExpectedDelayedDate

      public void shouldGetExpectedDelayedDate() throws ParseException
      Should return release date from ASN increased by 3 days, as configuration property value is 3.
      Throws:
      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.