Class DefaultCustomerFacadeTest
- java.lang.Object
-
- de.hybris.platform.commercefacades.customer.impl.DefaultCustomerFacadeTest
-
@UnitTest public class DefaultCustomerFacadeTest extends java.lang.Object
Test suite forDefaultCustomerFacade
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classDefaultCustomerFacadeTest.MockAddressModel
-
Constructor Summary
Constructors Constructor Description DefaultCustomerFacadeTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidshouldCloseAccount()voidtestChangePassword()voidtestChangePasswordMismatchException()voidtestCreateCustomerFromGuest()voidtestForgottenPasswordForCustomerId()voidtestForgottenPasswordForUid()voidtestForgottenPasswordInv2()voidtestGetCurrentUser()voidtestLoginSuccess()voidtestLoginSuccessNoCart()voidtestLoginSuccessNoCurrencyAndLanguage()voidtestLoginSuccessNotSetCurrent()voidtestNextDummyCustomerData()voidtestRegister()voidtestRegisterErr()voidtestRegisterGuest()voidtestSetPasswordForCustomerId()voidtestSetPasswordForUid()voidtestUpdatePassword()voidtestUpdateProfile()
-
-
-
Method Detail
-
setUp
public void setUp()
-
testGetCurrentUser
public void testGetCurrentUser()
-
testChangePassword
public void testChangePassword() throws PasswordMismatchException- Throws:
PasswordMismatchException
-
testSetPasswordForUid
public void testSetPasswordForUid()
-
testSetPasswordForCustomerId
public void testSetPasswordForCustomerId()
-
testChangePasswordMismatchException
public void testChangePasswordMismatchException() throws PasswordMismatchException- Throws:
PasswordMismatchException
-
testForgottenPasswordForUid
public void testForgottenPasswordForUid()
-
testForgottenPasswordForCustomerId
public void testForgottenPasswordForCustomerId()
-
testForgottenPasswordInv2
public void testForgottenPasswordInv2()
-
testRegister
public void testRegister() throws DuplicateUidException- Throws:
DuplicateUidException
-
testNextDummyCustomerData
public void testNextDummyCustomerData()
-
testRegisterErr
public void testRegisterErr() throws DuplicateUidException- Throws:
DuplicateUidException
-
testRegisterGuest
public void testRegisterGuest() throws DuplicateUidException- Throws:
DuplicateUidException
-
testCreateCustomerFromGuest
public void testCreateCustomerFromGuest() throws DuplicateUidException- Throws:
DuplicateUidException
-
testUpdateProfile
public void testUpdateProfile() throws DuplicateUidException- Throws:
DuplicateUidException
-
testUpdatePassword
public void testUpdatePassword() throws TokenInvalidatedException- Throws:
TokenInvalidatedException
-
testLoginSuccess
public void testLoginSuccess()
-
testLoginSuccessNoCurrencyAndLanguage
public void testLoginSuccessNoCurrencyAndLanguage()
-
testLoginSuccessNoCart
public void testLoginSuccessNoCart()
-
testLoginSuccessNotSetCurrent
public void testLoginSuccessNotSetCurrent()
-
shouldCloseAccount
public void shouldCloseAccount()
-
-