Class ArticleComponentTestBase
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.servicelayer.ServicelayerTransactionalTest
-
- com.sap.retail.commercesuite.saparticlemodel.articlecomponent.ArticleComponentTestBase
-
- All Implemented Interfaces:
de.hybris.platform.testframework.JaloSessionHolder
- Direct Known Subclasses:
ArticleComponentDAOTest,ArticleComponentServiceTest,ArticleComponentValidationsTest
public class ArticleComponentTestBase extends de.hybris.platform.servicelayer.ServicelayerTransactionalTestBase test class for article components unit tests.
-
-
Field Summary
Fields Modifier and Type Field Description protected ProductModelcomponentArticle1protected ProductModelcomponentArticle2protected ProductModelstructuredArticleprotected ArticleComponentModelstructuredArticleComponent1protected ArticleComponentModelstructuredArticleComponent2protected ProductModelstructuredArticleWithNoComponent
-
Constructor Summary
Constructors Constructor Description ArticleComponentTestBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()Create model objects and add them to the model service.voidtearDown()Remove model objects from model service.-
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
-
-
-
-
Field Detail
-
structuredArticle
@Mock protected ProductModel structuredArticle
-
structuredArticleWithNoComponent
@Mock protected ProductModel structuredArticleWithNoComponent
-
componentArticle1
@Mock protected ProductModel componentArticle1
-
componentArticle2
@Mock protected ProductModel componentArticle2
-
structuredArticleComponent1
@Mock protected ArticleComponentModel structuredArticleComponent1
-
structuredArticleComponent2
@Mock protected ArticleComponentModel structuredArticleComponent2
-
-