Class CustomersControllerIntegrationTest
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.CustomersControllerIntegrationTest
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest
public class CustomersControllerIntegrationTest
extends AbstractControllerIntegrationIntegrationTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String[]static final Stringstatic final Stringstatic final Stringstatic final StringFields 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, SORTFields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importServiceFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected javax.ws.rs.core.ResponsebindAnonymousCartToCustomer(String cartId, String customerId) voidvoidvoidvoidvoidvoidgetCustomerNamesFromResponse(javax.ws.rs.core.Response response) voidvoidvoidvoidvoidprotected javax.ws.rs.core.ResponseperformGetCustomersCall(String searchCritera, String sort, String pageSize, String currentPage) protected javax.ws.rs.core.ResponsevoidvoidvoidvoidvoidvoidvoidMethods inherited from class de.hybris.platform.assistedservicewebservices.controllers.AbstractControllerIntegrationIntegrationTest
getWsSecuredRequestBuilder, setUpMethods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneMethods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Field Details
-
CUSTOMER_SEARCH_URI
- See Also:
-
CUSTOMER_LIST_PARAM
- See Also:
-
DUMMY_USER_UID
- See Also:
-
TEMP_CUSTOMER_LIST_ID
- See Also:
-
DUMMY_USERS
-
NOT_AGENT
- See Also:
-
VALID_CUSTOMER_ID
- See Also:
-
ANONYMOUS_CART_ID
- See Also:
-
NONANONYMOUS_CART_ID
- See Also:
-
BIND_CART_URI
- See Also:
-
-
Constructor Details
-
CustomersControllerIntegrationTest
public CustomersControllerIntegrationTest()
-
-
Method Details
-
getCustomersByUid
public void getCustomersByUid() -
getFirstTwoCustomersInDescendingOrderSortedByName
public void getFirstTwoCustomersInDescendingOrderSortedByName() -
getCustomerFromThirdPageSortedByUidInAscendingOrder
public void getCustomerFromThirdPageSortedByUidInAscendingOrder() -
getCustomersByNotExistingUid
public void getCustomersByNotExistingUid() -
shouldGetAllCustomerByEmptyCriteria
public void shouldGetAllCustomerByEmptyCriteria() -
shouldGetCustomerWithOrder
public void shouldGetCustomerWithOrder() -
shouldNotGetCustomerWithWrongOrder
public void shouldNotGetCustomerWithWrongOrder() -
getCustomersByEmptyQuery
public void getCustomersByEmptyQuery() -
shouldNotGetCustomersByUnknownCustomerListId
public void shouldNotGetCustomersByUnknownCustomerListId() -
shouldGetCustomersByCustomerListId
public void shouldGetCustomersByCustomerListId() -
shouldGetCustomersByCustomerListIdWithPaging
public void shouldGetCustomersByCustomerListIdWithPaging() -
shouldGetCustomersByCustomerListIdWithPagingAndSort
public void shouldGetCustomersByCustomerListIdWithPagingAndSort() -
getCustomersByNotAsAgent
public void getCustomersByNotAsAgent() -
bindAnonymousCartToMissingCustomerTest
public void bindAnonymousCartToMissingCustomerTest() -
bindMissingAnonymousCartToCustomerTest
public void bindMissingAnonymousCartToCustomerTest() -
bindAnonymousCartToInvalidCustomerTest
public void bindAnonymousCartToInvalidCustomerTest() -
bindAnonymousInvalidCartToCustomerTest
public void bindAnonymousInvalidCartToCustomerTest() -
bindAnonymousCartToCustomerTest
public void bindAnonymousCartToCustomerTest() -
performGetCustomersWithDifferentQueries
-
performGetCustomersCall
-
getCustomerNamesFromResponse
-
bindAnonymousCartToCustomer
-