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.ServicelayerTransactionalTest
Base test class for article components unit tests.
  • Field Details

    • 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
  • Constructor Details

    • ArticleComponentTestBase

      public ArticleComponentTestBase()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Create model objects and add them to the model service.
      Throws:
      Exception
    • tearDown

      public void tearDown()
      Remove model objects from model service.