Class YDocumentCartRepositoryTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- ydocumentcartpackage.persistence.polyglot.repository.documentcart.YDocumentCartRepositoryTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class YDocumentCartRepositoryTest extends ServicelayerBaseTest
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description YDocumentCartRepositoryTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkGettingCartEntryByCriteriaWithComparisionEqualNull()
void
checkGettingCartEntryByCriteriaWithComparisionNotEqualNull()
void
checkGettingCartEntryWithFSPolyglotDialectIsNull()
void
checkGettingICartEntryWithFSPolyglotDialectIsNotNull()
void
checkGettingItemStateByCartEntryIdentity()
void
checkGettingItemStateByCartIdentity()
void
checkRemoveItemStateByCartEntryIdentity()
void
checkRemoveItemStateByCartIdentity()
void
checkRemoveItemStateThrowsAnExceptionWhenVersionDoesNotMatch()
void
setUp()
void
shouldSortCollectionInProperOrderWithNullValuesFirst()
void
shouldSortCollectionInProperOrderWithoutNullValues()
void
testCartVersion()
void
testCartVersionIsGreaterAfterUpdate()
void
testCartWithCartEntryVersion()
void
testCartWithCartEntryVersionAfterUpdate()
-
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()
-
checkGettingItemStateByCartIdentity
public void checkGettingItemStateByCartIdentity()
-
checkGettingItemStateByCartEntryIdentity
public void checkGettingItemStateByCartEntryIdentity()
-
checkRemoveItemStateByCartIdentity
public void checkRemoveItemStateByCartIdentity()
-
checkRemoveItemStateByCartEntryIdentity
public void checkRemoveItemStateByCartEntryIdentity()
-
checkRemoveItemStateThrowsAnExceptionWhenVersionDoesNotMatch
public void checkRemoveItemStateThrowsAnExceptionWhenVersionDoesNotMatch()
-
testCartVersion
public void testCartVersion()
-
testCartWithCartEntryVersion
public void testCartWithCartEntryVersion()
-
testCartWithCartEntryVersionAfterUpdate
public void testCartWithCartEntryVersionAfterUpdate()
-
testCartVersionIsGreaterAfterUpdate
public void testCartVersionIsGreaterAfterUpdate()
-
checkGettingCartEntryWithFSPolyglotDialectIsNull
public void checkGettingCartEntryWithFSPolyglotDialectIsNull()
-
checkGettingICartEntryWithFSPolyglotDialectIsNotNull
public void checkGettingICartEntryWithFSPolyglotDialectIsNotNull()
-
checkGettingCartEntryByCriteriaWithComparisionEqualNull
public void checkGettingCartEntryByCriteriaWithComparisionEqualNull()
-
checkGettingCartEntryByCriteriaWithComparisionNotEqualNull
public void checkGettingCartEntryByCriteriaWithComparisionNotEqualNull()
-
shouldSortCollectionInProperOrderWithNullValuesFirst
public void shouldSortCollectionInProperOrderWithNullValuesFirst()
-
shouldSortCollectionInProperOrderWithoutNullValues
public void shouldSortCollectionInProperOrderWithoutNullValues()
-
-