Class DefaultB2BCheckoutFacadeIntegrationTest

All Implemented Interfaces:
JaloSessionHolder

@ContextConfiguration(locations="classpath:/payment-spring-test.xml") @IntegrationTest public class DefaultB2BCheckoutFacadeIntegrationTest extends BaseCommerceBaseTest
  • Constructor Details

    • DefaultB2BCheckoutFacadeIntegrationTest

      public DefaultB2BCheckoutFacadeIntegrationTest()
  • Method Details

    • beforeTest

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

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

      public void shouldNotCreateCartFromNullOrder()
    • shouldNotCreateCartFromOrderNotBelongToCurrentUser

      public void shouldNotCreateCartFromOrderNotBelongToCurrentUser()
    • shouldCreateCartFromOrder

      public void shouldCreateCartFromOrder()
    • getPaymentInfoModelForClonedCart

      protected PaymentInfoModel getPaymentInfoModelForClonedCart(OrderModel order)
    • testScheduleOrder

      public void testScheduleOrder() throws Exception
      Throws:
      Exception
    • getProcesses

      protected List<BusinessProcessModel> getProcesses(String processDefinitionName, List<ProcessState> processStates)
      Overrides:
      getProcesses in class BaseCommerceBaseTest
    • waitForProcessToEnd

      protected boolean waitForProcessToEnd(String processDefinitionName, long maxWait) throws InterruptedException
      Overrides:
      waitForProcessToEnd in class BaseCommerceBaseTest
      Throws:
      InterruptedException
    • shouldAuthorizeInvoicePayment

      public void shouldAuthorizeInvoicePayment() throws Exception
      Throws:
      Exception
    • shouldNotUpdateCheckoutCartWithCardAndCostCenter

      public void shouldNotUpdateCheckoutCartWithCardAndCostCenter()
    • shouldReturnAllPaymentTypes

      public void shouldReturnAllPaymentTypes()
    • shouldNotReturnCardPaymentType

      public void shouldNotReturnCardPaymentType()
    • shouldNotValidateCheckoutCartWhenNotAllowedPaymentTypeException

      public void shouldNotValidateCheckoutCartWhenNotAllowedPaymentTypeException()
    • shouldValidateCheckoutCartWhenAllowedPaymentType

      public void shouldValidateCheckoutCartWhenAllowedPaymentType()