Class DefaultConsentDaoIntegrationTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.commerceservices.consent.dao.impl.DefaultConsentDaoIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class DefaultConsentDaoIntegrationTest extends ServicelayerTest
JUnit test suite forDefaultCommerceQuoteDao
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description DefaultConsentDaoIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
shouldFindActiveConsentByCustomer()
void
shouldFindAllConsentsByCustomer()
void
shouldNotFindActiveConsentByWrongConsentTemplate()
void
shouldNotFindActiveConsentByWrongCustomer()
void
shouldNotFindActiveConsentifConsentTemplateisNull()
void
shouldNotFindActiveConsentifCustomerisNull()
void
shouldNotFindAllConsentsByCustomerIfCustomerisNull()
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNone
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldFindActiveConsentByCustomer
public void shouldFindActiveConsentByCustomer() throws java.text.ParseException
- Throws:
java.text.ParseException
-
shouldNotFindActiveConsentByWrongCustomer
public void shouldNotFindActiveConsentByWrongCustomer() throws java.text.ParseException
- Throws:
java.text.ParseException
-
shouldNotFindActiveConsentByWrongConsentTemplate
public void shouldNotFindActiveConsentByWrongConsentTemplate() throws java.text.ParseException
- Throws:
java.text.ParseException
-
shouldNotFindActiveConsentifConsentTemplateisNull
public void shouldNotFindActiveConsentifConsentTemplateisNull() throws java.text.ParseException
- Throws:
java.text.ParseException
-
shouldNotFindActiveConsentifCustomerisNull
public void shouldNotFindActiveConsentifCustomerisNull() throws java.text.ParseException
- Throws:
java.text.ParseException
-
shouldFindAllConsentsByCustomer
public void shouldFindAllConsentsByCustomer() throws java.text.ParseException
- Throws:
java.text.ParseException
-
shouldNotFindAllConsentsByCustomerIfCustomerisNull
public void shouldNotFindAllConsentsByCustomerIfCustomerisNull() throws java.text.ParseException
- Throws:
java.text.ParseException
-
-