Class BundleTemplatePrepareInterceptorIntegrationTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.configurablebundleservices.interceptor.impl.BundleTemplatePrepareInterceptorIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class BundleTemplatePrepareInterceptorIntegrationTest extends ServicelayerTest
Integration test for BundleTemplatePrepareIntercetpr
-
-
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 BundleTemplatePrepareInterceptorIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
testAddSelectionCriteriaToTemplate()
void
testUpdateTemplateWithCriteriaShouldNotDeleteCriteria()
This test is ignored because when run as a junit test the bundletemplate retrieved from db and one passed to the interceptor are the same and hence test fails.-
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 ImpExException
- Throws:
ImpExException
-
testAddSelectionCriteriaToTemplate
public void testAddSelectionCriteriaToTemplate()
-
testUpdateTemplateWithCriteriaShouldNotDeleteCriteria
public void testUpdateTemplateWithCriteriaShouldNotDeleteCriteria()
This test is ignored because when run as a junit test the bundletemplate retrieved from db and one passed to the interceptor are the same and hence test fails. Tested through hmc and the interceptor works as expected
-
-