Class OfferServiceTest

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

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

    • offerService

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

      protected org.broadleafcommerce.core.offer.dao.CustomerOfferDao customerOfferDaoMock
    • offerCodeDaoMock

      protected org.broadleafcommerce.core.offer.dao.OfferCodeDao offerCodeDaoMock
    • 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
    • orderItemServiceMock

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

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

      protected OfferDataItemProvider dataProvider
    • offerTimeZoneProcessorMock

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

      protected org.broadleafcommerce.core.offer.service.discount.domain.PromotableOfferUtility promotableOfferUtility
  • Constructor Details

    • OfferServiceTest

      public OfferServiceTest()
  • 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()
    • testApplyOffersToOrder_Order

      public void testApplyOffersToOrder_Order() throws Exception
      Throws:
      Exception
    • testApplyOffersToOrder_Items

      public void testApplyOffersToOrder_Items() throws Exception
      Throws:
      Exception
    • testBuildOfferListForOrder

      public void testBuildOfferListForOrder() throws Exception
      Throws:
      Exception