Class CustomerTest
java.lang.Object
org.springframework.test.context.testng.AbstractTestNGSpringContextTests
org.broadleafcommerce.test.TestNGSiteIntegrationSetup
org.broadleafcommerce.profile.web.core.service.CustomerTest
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.testng.IHookable,org.testng.ITestNGListener
-
Field Summary
FieldsFields 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 TypeMethodDescriptionvoidvoidcreateCustomer(org.broadleafcommerce.profile.core.domain.Customer customerInfo) voidvoidMethods 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
-
em
protected jakarta.persistence.EntityManager em
-
-
Constructor Details
-
CustomerTest
public CustomerTest()
-
-
Method Details
-
createCustomerIdGeneration
@Commit @Transactional public void createCustomerIdGeneration() -
createCustomer
@Rollback(false) public void createCustomer(org.broadleafcommerce.profile.core.domain.Customer customerInfo) -
readCustomersById
public void readCustomersById() -
changeCustomerPasswords
@Transactional @Commit public void changeCustomerPasswords()
-