Class DefaultRAOActionTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class DefaultRAOActionTest extends AbstractRuleEngineServicesTest
Tests the RAOActions.
  • Constructor Details

    • DefaultRAOActionTest

      public DefaultRAOActionTest()
  • Method Details

    • setUp

      public void setUp() throws ImpExException
      Throws:
      ImpExException
    • testAddOrderLevelDiscountAbsolute

      public void testAddOrderLevelDiscountAbsolute() throws IOException
      Throws:
      IOException
    • testChangeDeliveryModeFreeShipping

      public void testChangeDeliveryModeFreeShipping() throws IOException
      Throws:
      IOException
    • testChangeDeliveryModeFreeOvernightShipping

      public void testChangeDeliveryModeFreeOvernightShipping() throws IOException
      Throws:
      IOException
    • testAddProductDiscount

      public void testAddProductDiscount() throws IOException
      Throws:
      IOException
    • testAddFixedPriceProductDiscount

      public void testAddFixedPriceProductDiscount() throws IOException
      Throws:
      IOException
    • testAddFixedPriceProductDiscountConsumedEntries

      public void testAddFixedPriceProductDiscountConsumedEntries() throws IOException
      Throws:
      IOException
    • testTwoEntryRulesWithAvailableQuantityCondition

      public void testTwoEntryRulesWithAvailableQuantityCondition() throws IOException
      Throws:
      IOException
    • testRuleForMoreEntriesAllConsumed

      public void testRuleForMoreEntriesAllConsumed() throws IOException
      Throws:
      IOException
    • testRuleEvaluation

      public void testRuleEvaluation() throws IOException
      Throws:
      IOException
    • createOrderEntryRAO

      protected OrderEntryRAO createOrderEntryRAO(String basePrice, String currencyIso, int quantity, int entryNumber, CartRAO cart, String productCode)
    • addFacts

      protected Set<Object> addFacts(Object... singleFacts)