Package de.hybris.platform.order.daos
Class OrderDaoTest
- All Implemented Interfaces:
JaloSessionHolder
-
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importServiceFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneMethods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
OrderDaoTest
public OrderDaoTest()
-
-
Method Details
-
setUp
public void setUp() -
tearDown
public void tearDown() -
testFindOrdersByCurrencyForDefaultCart
public void testFindOrdersByCurrencyForDefaultCart() -
testFindOrdersByCurrencyFoundForDefaultCart
- Throws:
InvalidCartException
-
testFindOrdersByCurrencyNotFoundForDefaultCart
- Throws:
InvalidCartException
-
testFindOrdersByDeliveryModeForDefaultCart
public void testFindOrdersByDeliveryModeForDefaultCart() -
testFindOrdersByDeliveryModeFoundForDefaultCart
- Throws:
InvalidCartException
-
testFindOrdersByDeliveryModeNotFoundForDefaultCart
- Throws:
InvalidCartException
-
testFindOrdersByPaymentModeForDefaultCart
public void testFindOrdersByPaymentModeForDefaultCart() -
testFindOrdersByPaymentModeFoundForDefaultCart
- Throws:
InvalidCartException
-
testFindOrdersByPaymentModeNotFoundForDefaultCart
- Throws:
InvalidCartException
-
shouldFindNoEntriesForNotExistingEntryNumberForDefaultCart
public void shouldFindNoEntriesForNotExistingEntryNumberForDefaultCart() throws InvalidCartException- Throws:
InvalidCartException
-
shouldFindEntriesForExistingEntryNumberForDefaultCart
- Throws:
InvalidCartException
-
shouldFindNoEntriesForInvalidEntryNumberRangeForDefaultCart
public void shouldFindNoEntriesForInvalidEntryNumberRangeForDefaultCart() throws InvalidCartException- Throws:
InvalidCartException
-
shouldFindEntriesForValidEntryNumberRangeForDefaultCart
- Throws:
InvalidCartException
-
shouldFindNoEntriesForUnknownProductForDefaultCart
- Throws:
InvalidCartException
-
shouldFindEntriesForValidProductForDefaultCart
- Throws:
InvalidCartException
-
testFindOrdersByCurrencyForInMemoryCart
public void testFindOrdersByCurrencyForInMemoryCart() -
testFindOrdersByCurrencyFoundForInMemoryCart
- Throws:
InvalidCartException
-
testFindOrdersByCurrencyNotFoundForInMemoryCart
- Throws:
InvalidCartException
-
testFindOrdersByDeliveryModeForInMemoryCart
public void testFindOrdersByDeliveryModeForInMemoryCart() -
testFindOrdersByDeliveryModeFoundForInMemoryCart
- Throws:
InvalidCartException
-
testFindOrdersByDeliveryModeNotFoundForInMemoryCart
- Throws:
InvalidCartException
-
testFindOrdersByPaymentModeForInMemoryCart
public void testFindOrdersByPaymentModeForInMemoryCart() -
testFindOrdersByPaymentModeFoundForInMemoryCart
- Throws:
InvalidCartException
-
testFindOrdersByPaymentModeNotFoundForInMemoryCart
- Throws:
InvalidCartException
-
shouldFindNoEntriesForNotExistingEntryNumberForInMemoryCart
public void shouldFindNoEntriesForNotExistingEntryNumberForInMemoryCart() throws InvalidCartException- Throws:
InvalidCartException
-
shouldFindEntriesForExistingEntryNumberForInMemoryCart
- Throws:
InvalidCartException
-
shouldFindNoEntriesForInvalidEntryNumberRangeForInMemoryCart
public void shouldFindNoEntriesForInvalidEntryNumberRangeForInMemoryCart() throws InvalidCartException- Throws:
InvalidCartException
-
shouldFindEntriesForValidEntryNumberRangeForInMemoryCart
- Throws:
InvalidCartException
-
shouldFindNoEntriesForUnknownProductForInMemoryCart
- Throws:
InvalidCartException
-
shouldFindEntriesForValidProductForInMemoryCart
- Throws:
InvalidCartException
-