Class OrphanedPartOfCleanupPrepareInterceptorTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.order.interceptors.OrphanedPartOfCleanupPrepareInterceptorTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class OrphanedPartOfCleanupPrepareInterceptorTest extends ServicelayerBaseTest
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
persistenceModeBefore
protected boolean
persistenceModeSaved
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description OrphanedPartOfCleanupPrepareInterceptorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
attrThatThrowsExShouldBeSkipped()
void
attrWithDifferentValueShouldBeRegisteredForDeletion()
void
modifiedAttrShouldGetAttributeFromDB()
void
modifiedLocalizedAttrShouldGetAttributeFromDB()
void
notModifiedAttrShouldNotGetAttributeFromDB()
void
setUp()
void
tearDown()
-
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
-
-
-
-
Method Detail
-
setUp
public void setUp()
-
tearDown
public void tearDown()
-
notModifiedAttrShouldNotGetAttributeFromDB
public void notModifiedAttrShouldNotGetAttributeFromDB() throws InterceptorException
- Throws:
InterceptorException
-
modifiedAttrShouldGetAttributeFromDB
public void modifiedAttrShouldGetAttributeFromDB() throws InterceptorException
- Throws:
InterceptorException
-
modifiedLocalizedAttrShouldGetAttributeFromDB
public void modifiedLocalizedAttrShouldGetAttributeFromDB() throws InterceptorException
- Throws:
InterceptorException
-
attrThatThrowsExShouldBeSkipped
public void attrThatThrowsExShouldBeSkipped() throws InterceptorException
- Throws:
InterceptorException
-
attrWithDifferentValueShouldBeRegisteredForDeletion
public void attrWithDifferentValueShouldBeRegisteredForDeletion() throws InterceptorException
- Throws:
InterceptorException
-
-