Class DefaultCustomerFacadeTest
java.lang.Object
de.hybris.platform.commercefacades.customer.impl.DefaultCustomerFacadeTest
Test suite for
DefaultCustomerFacade-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
DefaultCustomerFacadeTest
public DefaultCustomerFacadeTest()
-
-
Method Details
-
setUp
public void setUp() -
testGetCurrentUser
public void testGetCurrentUser() -
testChangePassword
- Throws:
PasswordMismatchException
-
testSetPasswordForUid
public void testSetPasswordForUid() -
testSetPasswordForCustomerId
public void testSetPasswordForCustomerId() -
testChangePasswordMismatchException
- Throws:
PasswordMismatchException
-
testForgottenPasswordForUid
public void testForgottenPasswordForUid() -
testForgottenPasswordForCustomerId
public void testForgottenPasswordForCustomerId() -
testForgottenPasswordForEmptyId
public void testForgottenPasswordForEmptyId() -
testRegister
- Throws:
DuplicateUidException
-
testNextDummyCustomerData
public void testNextDummyCustomerData() -
testRegisterErr
- Throws:
DuplicateUidException
-
testRegisterGuest
- Throws:
DuplicateUidException
-
testCreateCustomerFromGuest
- Throws:
DuplicateUidException
-
testUpdateProfile
- Throws:
DuplicateUidException
-
testUpdatePassword
- Throws:
TokenInvalidatedException
-
testLoginSuccess
public void testLoginSuccess() -
testLoginSuccessNoCurrencyAndLanguage
public void testLoginSuccessNoCurrencyAndLanguage() -
testLoginSuccessNoCart
public void testLoginSuccessNoCart() -
testLoginSuccessNotSetCurrent
public void testLoginSuccessNotSetCurrent() -
testPublishLoginSuccessEventForCurrentCustomer
public void testPublishLoginSuccessEventForCurrentCustomer() -
testPublishLoginSuccessEventForCurrentCustomerNotSentForAnonymous
public void testPublishLoginSuccessEventForCurrentCustomerNotSentForAnonymous() -
shouldCloseAccount
public void shouldCloseAccount()
-