Class DelayedReleaseDateStrategyTest


  • @UnitTest
    public class DelayedReleaseDateStrategyTest
    extends java.lang.Object
    Test for delayed release date calculation.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setUp()  
      void shouldGetAsnDate()
      Should return release date same as on ASN, as there was an Exception thrown when trying to retrieve data from configuration.
      void shouldGetExpectedDelayedDate()
      Should return release date from ASN increased by 3 days, as configuration property value is 3.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DelayedReleaseDateStrategyTest

        public DelayedReleaseDateStrategyTest()
    • Method Detail

      • setUp

        public void setUp()
                   throws java.text.ParseException
        Throws:
        java.text.ParseException
      • shouldGetExpectedDelayedDate

        public void shouldGetExpectedDelayedDate()
                                          throws java.text.ParseException
        Should 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.