Class SessionServiceTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTransactionalBaseTest
-
- de.hybris.platform.servicelayer.session.SessionServiceTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class SessionServiceTest extends ServicelayerTransactionalBaseTest
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SESSION_ATTR
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description SessionServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
shouldSilentlyRemoveDeletedItemFromSession()
void
shouldSilentlyRemoveDeletedListEntryFromSession()
void
shouldSilentlyRemoveDeletedMapEntryFromSession()
void
testGetAllAttributes()
void
testGetOrLoadAttribute()
void
testNewModel()
void
testRemoveAttribute()
void
testSerializability()
void
testSetAndGetAttribute()
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Field Detail
-
SESSION_ATTR
public static final java.lang.String SESSION_ATTR
- See Also:
- Constant Field Values
-
-
Method Detail
-
testSetAndGetAttribute
public void testSetAndGetAttribute() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testGetOrLoadAttribute
public void testGetOrLoadAttribute() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testNewModel
public void testNewModel() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testGetAllAttributes
public void testGetAllAttributes() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testRemoveAttribute
public void testRemoveAttribute()
-
testSerializability
public void testSerializability() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldSilentlyRemoveDeletedItemFromSession
public void shouldSilentlyRemoveDeletedItemFromSession()
-
shouldSilentlyRemoveDeletedMapEntryFromSession
public void shouldSilentlyRemoveDeletedMapEntryFromSession()
-
shouldSilentlyRemoveDeletedListEntryFromSession
public void shouldSilentlyRemoveDeletedListEntryFromSession()
-
-