Class PaymentIntegrationTest

java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.ServicelayerTest
de.hybris.platform.b2ctelcofulfillmentprocess.test.PaymentIntegrationTest
All Implemented Interfaces:
de.hybris.platform.testframework.JaloSessionHolder

@IntegrationTest public class PaymentIntegrationTest extends de.hybris.platform.servicelayer.ServicelayerTest
  • Constructor Details

    • PaymentIntegrationTest

      public PaymentIntegrationTest()
  • Method Details

    • prepare

      public static void prepare() throws Exception
      Throws:
      Exception
    • setUpProductCatalogue

      public void setUpProductCatalogue()
    • removeProcessDefinitions

      public static void removeProcessDefinitions()
    • resetServices

      public void resetServices()
    • testPaymentIntegrationAccepted

      public void testPaymentIntegrationAccepted() throws InterruptedException, de.hybris.platform.order.exceptions.CalculationException
      Throws:
      InterruptedException
      de.hybris.platform.order.exceptions.CalculationException
    • testPaymentIntegrationDeclined

      public void testPaymentIntegrationDeclined() throws InterruptedException, de.hybris.platform.order.exceptions.CalculationException
      Throws:
      InterruptedException
      de.hybris.platform.order.exceptions.CalculationException
    • placeTestOrder

      protected OrderModel placeTestOrder(boolean valid) throws de.hybris.platform.order.InvalidCartException, de.hybris.platform.order.exceptions.CalculationException
      Throws:
      de.hybris.platform.order.InvalidCartException
      de.hybris.platform.order.exceptions.CalculationException
    • createProcess

      protected OrderProcessModel createProcess(String processName)
    • assertStep

      protected void assertStep(BusinessProcessModel process, String bean) throws InterruptedException
      Throws:
      InterruptedException
    • setResultForAction

      protected void setResultForAction(String action, String result)
    • getBean

      protected static Object getBean(String name)