Class CustomerPhoneControllerTest
java.lang.Object
org.springframework.test.context.testng.AbstractTestNGSpringContextTests
org.broadleafcommerce.test.TestNGSiteIntegrationSetup
org.broadleafcommerce.profile.web.core.controller.CustomerPhoneControllerTest
- 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.TestNGSiteIntegrationSetup
LOGFields inherited from class org.springframework.test.context.testng.AbstractTestNGSpringContextTests
applicationContext, logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateCustomerPhoneFromController(org.broadleafcommerce.profile.web.core.model.PhoneNameForm phoneNameForm) voidvoidprotected voidsetupCustomerId(Method testMethod) 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
-
Constructor Details
-
CustomerPhoneControllerTest
public CustomerPhoneControllerTest()
-
-
Method Details
-
setupCustomerId
@BeforeMethod(alwaysRun=true, dependsOnMethods="springTestContextBeforeTestMethod") protected void setupCustomerId(Method testMethod) throws Exception - Throws:
Exception
-
createCustomerPhoneFromController
@Transactional @Commit public void createCustomerPhoneFromController(org.broadleafcommerce.profile.web.core.model.PhoneNameForm phoneNameForm) -
makePhoneDefaultOnCustomerPhoneController
@Transactional public void makePhoneDefaultOnCustomerPhoneController() -
readCustomerPhoneFromController
@Transactional public void readCustomerPhoneFromController() -
viewCustomerPhoneFromController
public void viewCustomerPhoneFromController() -
viewExistingCustomerPhoneFromController
@Transactional public void viewExistingCustomerPhoneFromController()
-