Class DefaultPunchOutSessionServiceTest

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setup()  
      void testLoadExpiredSession()
      Tests that the session will be expired when the timeout kicks in, having in mind the session has lived for longer than the timeout period.
      void testLoadNonExpiredSession()
      Tests that when the session is created and the timeout is later than the current time the session is still not expired.
      • Methods inherited from class java.lang.Object

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

      • DefaultPunchOutSessionServiceTest

        public DefaultPunchOutSessionServiceTest()
    • Method Detail

      • setup

        public void setup()
      • testLoadExpiredSession

        public void testLoadExpiredSession()
                                    throws java.lang.Exception
        Tests that the session will be expired when the timeout kicks in, having in mind the session has lived for longer than the timeout period.
        Throws:
        java.lang.Exception - on error
      • testLoadNonExpiredSession

        public void testLoadNonExpiredSession()
                                       throws java.lang.Exception
        Tests that when the session is created and the timeout is later than the current time the session is still not expired.
        Throws:
        java.lang.Exception - on error