Class CustomerAddressTest
java.lang.Object
org.springframework.test.context.testng.AbstractTestNGSpringContextTests
org.broadleafcommerce.test.TestNGSiteIntegrationSetup
org.broadleafcommerce.test.CommonSetupBaseTest
org.broadleafcommerce.profile.web.core.service.CustomerAddressTest
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.testng.IHookable,org.testng.ITestNGListener
-
Field Summary
Fields inherited from class org.broadleafcommerce.test.CommonSetupBaseTest
catalogService, countryService, customerService, isoService, orderServiceFields inherited from class org.broadleafcommerce.test.TestNGSiteIntegrationSetup
LOGFields inherited from class org.springframework.test.context.testng.AbstractTestNGSpringContextTests
applicationContext, logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateCustomerAddress(org.broadleafcommerce.profile.core.domain.CustomerAddress customerAddress) Deprecated.voidvoidDeprecated.voidMethods 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
-
Constructor Details
-
CustomerAddressTest
public CustomerAddressTest()
-
-
Method Details
-
readCustomerAddresses
@Transactional public void readCustomerAddresses() -
createNewDefaultAddress
public void createNewDefaultAddress() -
createCustomerAddress
@Deprecated @Transactional @Rollback(false) public void createCustomerAddress(org.broadleafcommerce.profile.core.domain.CustomerAddress customerAddress) Deprecated.This method only exists because so many other tests depend on it, but should be removed once tests are more isolated- Parameters:
customerAddress-
-
readCustomerAddressByUserId
Deprecated.TThis method only exists because so many other tests depend on it, but should be removed once tests are more isolated
-