Class CustomerListControllerIntegrationTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.assistedservicewebservices.controllers.AbstractControllerIntegrationIntegrationTest
-
- de.hybris.platform.assistedservicewebservices.controllers.CustomerListControllerIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class CustomerListControllerIntegrationTest extends AbstractControllerIntegrationIntegrationTest
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringOAUTH_NO_CUSTOMER_LISTS_USERNAMEprotected static java.lang.StringRECENT_CUSTOMER_LIST_IDprotected static java.lang.StringRECENT_CUSTOMER_LIST_NAME-
Fields inherited from class de.hybris.platform.assistedservicewebservices.controllers.AbstractControllerIntegrationIntegrationTest
BASE_SITE_ID, BASE_SITE_PARAM, CURRENT_PAGE, OAUTH_CLIENT_ID, OAUTH_CLIENT_PASS, OAUTH_PASSWORD, OAUTH_USERNAME, PAGE_SIZE, SORT
-
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 CustomerListControllerIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidassertCustomerLists(javax.ws.rs.core.Response response)protected javax.ws.rs.core.ResponsegetCustomerListWSCall(java.lang.String oauthUserName, java.lang.String oauthPassword)protected java.util.List<java.lang.String>getResultUidsFromResponse(javax.ws.rs.core.Response result)voidshouldGetCustomerLists()voidshouldGetEmptyCustomerLists()voidshouldGetValidCustomerListDetails()-
Methods inherited from class de.hybris.platform.assistedservicewebservices.controllers.AbstractControllerIntegrationIntegrationTest
getWsSecuredRequestBuilder, setUp
-
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
-
-
-
-
Field Detail
-
OAUTH_NO_CUSTOMER_LISTS_USERNAME
public static final java.lang.String OAUTH_NO_CUSTOMER_LISTS_USERNAME
- See Also:
- Constant Field Values
-
RECENT_CUSTOMER_LIST_ID
protected static final java.lang.String RECENT_CUSTOMER_LIST_ID
- See Also:
- Constant Field Values
-
RECENT_CUSTOMER_LIST_NAME
protected static final java.lang.String RECENT_CUSTOMER_LIST_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
shouldGetCustomerLists
public void shouldGetCustomerLists()
-
getCustomerListWSCall
protected javax.ws.rs.core.Response getCustomerListWSCall(java.lang.String oauthUserName, java.lang.String oauthPassword)
-
assertCustomerLists
protected void assertCustomerLists(javax.ws.rs.core.Response response)
-
getResultUidsFromResponse
protected java.util.List<java.lang.String> getResultUidsFromResponse(javax.ws.rs.core.Response result)
-
shouldGetEmptyCustomerLists
public void shouldGetEmptyCustomerLists()
-
shouldGetValidCustomerListDetails
public void shouldGetValidCustomerListDetails()
-
-