Class DefaultPunchOutSessionServiceTest
- java.lang.Object
-
- de.hybris.platform.b2b.punchout.services.impl.DefaultPunchOutSessionServiceTest
-
@UnitTest public class DefaultPunchOutSessionServiceTest extends java.lang.Object
Test cases forDefaultPunchOutSessionService.
-
-
Constructor Summary
Constructors Constructor Description DefaultPunchOutSessionServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetup()voidtestLoadExpiredSession()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.voidtestLoadNonExpiredSession()Tests that when the session is created and the timeout is later than the current time the session is still not expired.
-
-
-
Method Detail
-
setup
public void setup()
-
testLoadExpiredSession
public void testLoadExpiredSession() throws java.lang.ExceptionTests 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.ExceptionTests 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
-
-