Class DefaultCustomerAccountServiceTest
- java.lang.Object
-
- de.hybris.platform.commerceservices.customer.impl.DefaultCustomerAccountServiceTest
-
@UnitTest public class DefaultCustomerAccountServiceTest extends java.lang.Object
JUnit test suite forDefaultCustomerAccountService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classDefaultCustomerAccountServiceTest.MockAddressModel
-
Constructor Summary
Constructors Constructor Description DefaultCustomerAccountServiceTest()
-
Method Summary
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
testAddPaymentInfoWhenCustomerIsNull
public void testAddPaymentInfoWhenCustomerIsNull()
-
testAddPaymentInfoWhenInfoIsNull
public void testAddPaymentInfoWhenInfoIsNull()
-
testAddPaymentInfo
public void testAddPaymentInfo()
-
testAddCreditCardPaymentInfoWhenCurrencyIsNull
public void testAddCreditCardPaymentInfoWhenCurrencyIsNull()
-
testAddCreditCardPaymentInfo
public void testAddCreditCardPaymentInfo()
-
testSetDefaultPaymentInfoWhenCustomerIsNull
public void testSetDefaultPaymentInfoWhenCustomerIsNull()
-
testSetDefaultPaymentInfoWhenPaymentIsNull
public void testSetDefaultPaymentInfoWhenPaymentIsNull()
-
testSetDefaultPaymentInfo
public void testSetDefaultPaymentInfo()
-
testDeleteCCPaymentInfoWhenCustomerIsNull
public void testDeleteCCPaymentInfoWhenCustomerIsNull()
-
testDeleteCCPaymentInfoWhenCreditCardIsNull
public void testDeleteCCPaymentInfoWhenCreditCardIsNull()
-
testDeleteCCPaymentInfoWhenCreditCardDoesNotBelongToCustomer
public void testDeleteCCPaymentInfoWhenCreditCardDoesNotBelongToCustomer()
-
testDeleteCCPaymentInfo
public void testDeleteCCPaymentInfo()
-
testGetTitles
public void testGetTitles()
-
testGetAddressBookEntriesWhenCustomerIsNull
public void testGetAddressBookEntriesWhenCustomerIsNull()
-
testGetAllAddressEntries
public void testGetAllAddressEntries()
-
testGetAddressBookEntries
public void testGetAddressBookEntries()
-
testSaveAddressEntryWhenCustomerIsNull
public void testSaveAddressEntryWhenCustomerIsNull()
-
testSaveAddressEntryWhenAddressIsNull
public void testSaveAddressEntryWhenAddressIsNull()
-
testSaveAddressEntry
public void testSaveAddressEntry()
-
testSaveAddressEntryAlienAddress
public void testSaveAddressEntryAlienAddress()
-
testDeleteAddressEntryWhenAddressIsNull
public void testDeleteAddressEntryWhenAddressIsNull()
-
testDeleteAddressEntryWhenCustomerIsNull
public void testDeleteAddressEntryWhenCustomerIsNull()
-
testDeleteAddressEntryWhenAddressIsAlien
public void testDeleteAddressEntryWhenAddressIsAlien()
-
testDeleteAddressEntryWhenAddress
public void testDeleteAddressEntryWhenAddress()
-
testSetDefaultAddressEntryWhenAddressIsNull
public void testSetDefaultAddressEntryWhenAddressIsNull()
-
testSetDefaultAddressEntryWhenCustomerIsNull
public void testSetDefaultAddressEntryWhenCustomerIsNull()
-
testSetDefaultAddressEntry
public void testSetDefaultAddressEntry()
-
testUpdatePwdInv
public void testUpdatePwdInv() throws TokenInvalidatedException- Throws:
TokenInvalidatedException
-
testUpdatePwdInv2
public void testUpdatePwdInv2() throws TokenInvalidatedException- Throws:
TokenInvalidatedException
-
testUpdatePwd
public void testUpdatePwd() throws TokenInvalidatedException- Throws:
TokenInvalidatedException
-
testUpdatePwdParams
public void testUpdatePwdParams() throws TokenInvalidatedException- Throws:
TokenInvalidatedException
-
testUpdatePwdExpiry
public void testUpdatePwdExpiry() throws TokenInvalidatedException- Throws:
TokenInvalidatedException
-
testRegister
public void testRegister() throws DuplicateUidException- Throws:
DuplicateUidException
-
testGuestRegister
public void testGuestRegister() throws DuplicateUidException- Throws:
DuplicateUidException
-
getMatcher
protected AbstractCommerceUserEvent getMatcher(CustomerModel customer, java.lang.String token)
-
testForgottenPwd
public void testForgottenPwd()
-
testForgottenPwdNoExpiry
public void testForgottenPwdNoExpiry()
-
internalForgottenPwd
protected void internalForgottenPwd(org.mockito.ArgumentMatcher<SecureToken> matcher)
-
testForgottenPwdInv
public void testForgottenPwdInv()
-
testChangePasswordPasswordsDontMatch
public void testChangePasswordPasswordsDontMatch() throws PasswordMismatchException- Throws:
PasswordMismatchException
-
testChangePasswordAnonymousUser
public void testChangePasswordAnonymousUser() throws PasswordMismatchException- Throws:
PasswordMismatchException
-
testChangePassword
public void testChangePassword() throws PasswordMismatchException- Throws:
PasswordMismatchException
-
testFillMissingCustomerInfo
public void testFillMissingCustomerInfo() throws DuplicateUidException- Throws:
DuplicateUidException
-
testGetReturnRequestsForCustomer
public void testGetReturnRequestsForCustomer()
-
testGetReturnRequestsForCustomerNullCustomer
public void testGetReturnRequestsForCustomerNullCustomer()
-
testGetReturnRequestsForCustomerNullStore
public void testGetReturnRequestsForCustomerNullStore()
-
testGetReturnRequestsForCustomerNullPageableData
public void testGetReturnRequestsForCustomerNullPageableData()
-
shouldSetDeactivationDateOnCloseAccount
public void shouldSetDeactivationDateOnCloseAccount()
-
-