Class DefaultCustomerFacadeIntegrationTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.commercefacades.customer.DefaultCustomerFacadeIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class DefaultCustomerFacadeIntegrationTest extends ServicelayerTest
Integration test suite forDefaultCustomerFacade
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
ENCODING
-
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description DefaultCustomerFacadeIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
restore()
protected void
setCurrentUser(UserModel user)
protected void
setCurrentUser(java.lang.String userUid)
void
setUp()
void
testChangePassword()
void
testForgottenPassword()
void
testGetCurrentUser()
void
testRegister()
void
testRegisterAndChangePassword()
void
testRegisterCheckCustomerType()
void
testUpdatePassword()
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNone
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception
- Throws:
java.lang.Exception
-
restore
public void restore()
-
setCurrentUser
protected void setCurrentUser(java.lang.String userUid)
-
setCurrentUser
protected void setCurrentUser(UserModel user)
-
testGetCurrentUser
public void testGetCurrentUser()
-
testChangePassword
public void testChangePassword()
-
testUpdatePassword
public void testUpdatePassword() throws TokenInvalidatedException
- Throws:
TokenInvalidatedException
-
testRegisterCheckCustomerType
public void testRegisterCheckCustomerType() throws DuplicateUidException
- Throws:
DuplicateUidException
-
testRegister
public void testRegister() throws DuplicateUidException
- Throws:
DuplicateUidException
-
testRegisterAndChangePassword
public void testRegisterAndChangePassword() throws DuplicateUidException
- Throws:
DuplicateUidException
-
testForgottenPassword
public void testForgottenPassword() throws java.io.IOException
- Throws:
java.io.IOException
-
-