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
importServiceFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidvoidThis 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, 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
-
BundleTemplatePrepareInterceptorIntegrationTest
public BundleTemplatePrepareInterceptorIntegrationTest()
-
-
Method Details
-
setUp
- 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
-