Class CxPromotionsQueryIntegrationTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class CxPromotionsQueryIntegrationTest extends BaseWebServiceTest
  • Constructor Details

    • CxPromotionsQueryIntegrationTest

      public CxPromotionsQueryIntegrationTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Overrides:
      setUp in class BaseWebServiceTest
      Throws:
      Exception
    • publishPromotions

      protected void publishPromotions(String... codes) throws RuleEngineServiceException
      Throws:
      RuleEngineServiceException
    • getPromotionRule

      protected PromotionSourceRuleModel getPromotionRule(String code)
    • getWithInvalidRequest

      public void getWithInvalidRequest() throws IOException, javax.xml.bind.JAXBException
      Throws:
      IOException
      javax.xml.bind.JAXBException
    • getWithValidCatalogVersion

      public void getWithValidCatalogVersion() throws IOException, javax.xml.bind.JAXBException
      Throws:
      IOException
      javax.xml.bind.JAXBException
    • getPromotionsPermissionsCheck

      public void getPromotionsPermissionsCheck() throws javax.xml.bind.JAXBException
      Throws:
      javax.xml.bind.JAXBException
    • getWithInvalidCatalogVersion

      public void getWithInvalidCatalogVersion() throws IOException, javax.xml.bind.JAXBException
      Throws:
      IOException
      javax.xml.bind.JAXBException
    • getWithInvalidCatalog

      public void getWithInvalidCatalog() throws IOException, javax.xml.bind.JAXBException
      Throws:
      IOException
      javax.xml.bind.JAXBException
    • getPromotionsRESTRequest

      protected javax.ws.rs.core.Response getPromotionsRESTRequest(String user, String pwd) throws javax.xml.bind.JAXBException
      Throws:
      javax.xml.bind.JAXBException