java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
ydocumentcartpackage.persistence.polyglot.repository.documentcart.YDocumentCartDemoTest
All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class YDocumentCartDemoTest extends ServicelayerBaseTest
This test is intended to show that Document Cart with all references:

Cart, CartEntry, AbstractOrderEntryProductInfo[orderEntry], PromotionResult[order], AbstractPromotionAction[promotionResult], PromotionOrderEntryConsumed[promotionResult]

works fine.

Extensions required to make it working are: documentcart adaptivesearchbackoffice adaptivesearchsamplesaddon adaptivesearchwebservices solrfacetsearchbackoffice solrserver base-accelerator/yacceleratorinitialdata b2c-accelerator/electronicsstore yacceleratorstorefront commercewebservices permissionswebservices smarteditaddon cmssmartedit yacceleratorfulfilmentprocess pcmbackoffice textfieldconfiguratortemplateservices

  • Constructor Details

    • YDocumentCartDemoTest

      public YDocumentCartDemoTest()
  • Method Details

    • setUp

      public void setUp()
    • tearDown

      public void tearDown() throws Exception
      Throws:
      Exception
    • testDocumentCart

      public void testDocumentCart()
    • findAbstractOrderEntryProductInfo

      public void findAbstractOrderEntryProductInfo()
    • findAbstractPromotionAction

      public void findAbstractPromotionAction()
    • findPromotionResult

      public void findPromotionResult()
    • findPromotionOrderEntryConsumed

      public void findPromotionOrderEntryConsumed()
    • findCartByUserAndSite

      public void findCartByUserAndSite()