Class ItemOfferProcessorTest

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

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

    • offerDaoMock

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

      protected org.broadleafcommerce.core.order.dao.OrderItemDao orderItemDaoMock
    • orderServiceMock

      protected org.broadleafcommerce.core.order.service.OrderService orderServiceMock
    • offerService

      protected org.broadleafcommerce.core.offer.service.OfferServiceImpl offerService
    • orderItemServiceMock

      protected org.broadleafcommerce.core.order.service.OrderItemService orderItemServiceMock
    • fgItemDaoMock

      protected org.broadleafcommerce.core.order.dao.FulfillmentGroupItemDao fgItemDaoMock
    • dataProvider

      protected OfferDataItemProvider dataProvider
    • fgServiceMock

      protected org.broadleafcommerce.core.order.service.FulfillmentGroupService fgServiceMock
    • multishipOptionServiceMock

      protected org.broadleafcommerce.core.order.service.OrderMultishipOptionService multishipOptionServiceMock
    • offerTimeZoneProcessorMock

      protected org.broadleafcommerce.core.offer.service.processor.OfferTimeZoneProcessor offerTimeZoneProcessorMock
    • itemProcessor

      protected org.broadleafcommerce.core.offer.service.processor.ItemOfferProcessorImpl itemProcessor
  • Constructor Details

    • ItemOfferProcessorTest

      public ItemOfferProcessorTest()
  • Method Details

    • setUp

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

      public void replay() throws Exception
      Throws:
      Exception
    • verify

      public void verify()
    • testFilterItemLevelOffer

      public void testFilterItemLevelOffer() 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
    • testApplyAllItemOffers

      public void testApplyAllItemOffers() throws Exception
      Throws:
      Exception
    • testApplyAdjustments

      public void testApplyAdjustments() throws Exception
      Throws:
      Exception
    • testApplyItemQualifiersAndTargets

      public void testApplyItemQualifiersAndTargets() throws Exception
      Throws:
      Exception