Class OfferServiceTest
java.lang.Object
org.springframework.test.context.testng.AbstractTestNGSpringContextTests
org.broadleafcommerce.test.TestNGSiteIntegrationSetup
org.broadleafcommerce.test.CommonSetupBaseTest
org.broadleafcommerce.core.offer.service.OfferServiceTest
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.testng.IHookable,org.testng.ITestNGListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.broadleafcommerce.core.catalog.service.CatalogServiceprotected org.broadleafcommerce.profile.core.service.CustomerServiceprotected org.broadleafcommerce.core.order.service.FulfillmentGroupServiceprotected org.broadleafcommerce.core.offer.service.OfferServiceprotected org.broadleafcommerce.core.order.service.OrderItemServiceprotected org.broadleafcommerce.core.order.service.OrderMultishipOptionServiceprotected org.broadleafcommerce.core.order.service.OrderServiceFields inherited from class org.broadleafcommerce.test.CommonSetupBaseTest
countryService, customerAddressService, isoServiceFields inherited from class org.broadleafcommerce.test.TestNGSiteIntegrationSetup
LOGFields inherited from class org.springframework.test.context.testng.AbstractTestNGSpringContextTests
applicationContext, logger -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.broadleafcommerce.test.CommonSetupBaseTest
addTestProduct, addTestProduct, createCountry, createCustomer, createCustomerWithAddress, createCustomerWithAddresses, createCustomerWithBasicOrderAndAddresses, saveCustomerAddressMethods inherited from class org.broadleafcommerce.test.TestNGSiteIntegrationSetup
logStart, logWhenDone, reSetApplicationContextMethods inherited from class org.springframework.test.context.testng.AbstractTestNGSpringContextTests
run, setApplicationContext, springTestContextAfterTestClass, springTestContextAfterTestMethod, springTestContextBeforeTestClass, springTestContextBeforeTestMethod, springTestContextPrepareTestInstance
-
Field Details
-
offerService
protected org.broadleafcommerce.core.offer.service.OfferService offerService -
orderService
protected org.broadleafcommerce.core.order.service.OrderService orderService -
customerService
protected org.broadleafcommerce.profile.core.service.CustomerService customerService -
catalogService
protected org.broadleafcommerce.core.catalog.service.CatalogService catalogService -
orderItemService
protected org.broadleafcommerce.core.order.service.OrderItemService orderItemService -
orderMultishipOptionService
protected org.broadleafcommerce.core.order.service.OrderMultishipOptionService orderMultishipOptionService -
fulfillmentGroupService
protected org.broadleafcommerce.core.order.service.FulfillmentGroupService fulfillmentGroupService
-
-
Constructor Details
-
OfferServiceTest
public OfferServiceTest()
-
-
Method Details
-
testOrderItemOfferWithGiftWrap
@Transactional("blTransactionManager") public void testOrderItemOfferWithGiftWrap() throws org.broadleafcommerce.core.pricing.service.exception.PricingException- Throws:
org.broadleafcommerce.core.pricing.service.exception.PricingException
-