Class PricingTest

java.lang.Object
org.springframework.test.context.testng.AbstractTestNGSpringContextTests
org.broadleafcommerce.test.TestNGSiteIntegrationSetup
org.broadleafcommerce.core.pricing.service.PricingTest
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.testng.IHookable, org.testng.ITestNGListener

public class PricingTest extends TestNGSiteIntegrationSetup
  • Field Summary

    Fields inherited from class org.broadleafcommerce.test.TestNGSiteIntegrationSetup

    LOG

    Fields inherited from class org.springframework.test.context.testng.AbstractTestNGSpringContextTests

    applicationContext, logger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.broadleafcommerce.profile.core.domain.Customer
     
    org.broadleafcommerce.common.money.Money
    getFulfillmentGroupFeeTotal(org.broadleafcommerce.core.order.domain.Order order)
     
    void
     
    void
     

    Methods inherited from class org.broadleafcommerce.test.TestNGSiteIntegrationSetup

    logStart, logWhenDone, reSetApplicationContext

    Methods inherited from class org.springframework.test.context.testng.AbstractTestNGSpringContextTests

    run, setApplicationContext, springTestContextAfterTestClass, springTestContextAfterTestMethod, springTestContextBeforeTestClass, springTestContextBeforeTestMethod, springTestContextPrepareTestInstance

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.testng.ITestNGListener

    isEnabled
  • Constructor Details

    • PricingTest

      public PricingTest()
  • Method Details

    • testPricing

      @Transactional public void testPricing() throws Exception
      Throws:
      Exception
    • getFulfillmentGroupFeeTotal

      public org.broadleafcommerce.common.money.Money getFulfillmentGroupFeeTotal(org.broadleafcommerce.core.order.domain.Order order)
    • testShipping

      @Transactional public void testShipping() throws Exception
      Throws:
      Exception
    • createCustomer

      public org.broadleafcommerce.profile.core.domain.Customer createCustomer()