Class OrderOfferProcessorTest

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.broadleafcommerce.core.offer.service.processor.OrderOfferProcessorTest
All Implemented Interfaces:
junit.framework.Test

public class OrderOfferProcessorTest extends junit.framework.TestCase
Author:
jfischer
  • Field Details

    • offerDaoMock

      protected org.broadleafcommerce.core.offer.dao.OfferDao offerDaoMock
    • orderProcessor

      protected org.broadleafcommerce.core.offer.service.processor.OrderOfferProcessorImpl orderProcessor
    • dataProvider

      protected OfferDataItemProvider dataProvider
    • offerTimeZoneProcessorMock

      protected org.broadleafcommerce.core.offer.service.processor.OfferTimeZoneProcessor offerTimeZoneProcessorMock
  • Constructor Details

    • OrderOfferProcessorTest

      public OrderOfferProcessorTest()
  • Method Details

    • setUp

      protected void setUp() throws Exception
      Overrides:
      setUp in class junit.framework.TestCase
      Throws:
      Exception
    • replay

      public void replay()
    • verify

      public void verify()
    • testFilterOffers

      public void testFilterOffers() throws Exception
      Throws:
      Exception
    • testFilterOrderLevelOffer

      public void testFilterOrderLevelOffer() throws Exception
      Throws:
      Exception
    • testCouldOfferApplyToOrder

      public void testCouldOfferApplyToOrder() throws Exception
      Throws:
      Exception
    • testCouldOrderItemMeetOfferRequirement

      public void testCouldOrderItemMeetOfferRequirement() throws Exception
      Throws:
      Exception
    • testCouldOfferApplyToOrderItems

      public void testCouldOfferApplyToOrderItems() throws Exception
      Throws:
      Exception
    • testQualifyingQuantity

      public void testQualifyingQuantity() throws Exception
      Throws:
      Exception