Class AssistedServiceCustomer360ControllerIntegrationTest
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.AssistedServiceCustomer360ControllerIntegrationTest
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest
public class AssistedServiceCustomer360ControllerIntegrationTest
extends AbstractControllerIntegrationIntegrationTest
-
Field Summary
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, 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.ResponsegetCustomer360WSCall(String username, String password, String path, Customer360QueryListWsDTO customer360QueryListWsDTO) marshallDto(Object input, Class<?> c) voidsetup()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidprotected <C> CunmarshallResult(javax.ws.rs.core.Response result, Class<C> c) Methods 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
-
Constructor Details
-
AssistedServiceCustomer360ControllerIntegrationTest
public AssistedServiceCustomer360ControllerIntegrationTest()
-
-
Method Details
-
setup
- Throws:
Exception
-
shouldGetC360StoreLocation
public void shouldGetC360StoreLocation() throws javax.xml.bind.JAXBException- Throws:
javax.xml.bind.JAXBException
-
shouldGetC360ReviewList
public void shouldGetC360ReviewList() throws javax.xml.bind.JAXBException- Throws:
javax.xml.bind.JAXBException
-
shouldGetC360CustomerProductInterests
public void shouldGetC360CustomerProductInterests() throws javax.xml.bind.JAXBException- Throws:
javax.xml.bind.JAXBException
-
shouldGetEmptyC360CustomerProductInterests
public void shouldGetEmptyC360CustomerProductInterests() throws javax.xml.bind.JAXBException- Throws:
javax.xml.bind.JAXBException
-
shouldGetC360Cart
public void shouldGetC360Cart() throws javax.xml.bind.JAXBException- Throws:
javax.xml.bind.JAXBException
-
shouldGetC360SavedCart
public void shouldGetC360SavedCart() throws javax.xml.bind.JAXBException- Throws:
javax.xml.bind.JAXBException
-
shouldGetNullWhenRequestingC360SavedCartWithNoSavedCart
public void shouldGetNullWhenRequestingC360SavedCartWithNoSavedCart() throws javax.xml.bind.JAXBException- Throws:
javax.xml.bind.JAXBException
-
shouldGetC360CouponList
public void shouldGetC360CouponList() throws javax.xml.bind.JAXBException- Throws:
javax.xml.bind.JAXBException
-
shouldGetEmptyPromotionList
public void shouldGetEmptyPromotionList() throws javax.xml.bind.JAXBException- Throws:
javax.xml.bind.JAXBException
-
shouldGet403WhenMakingRequestAsCustomer
public void shouldGet403WhenMakingRequestAsCustomer() throws javax.xml.bind.JAXBException- Throws:
javax.xml.bind.JAXBException
-
shouldGet400WhenMakingRequestWithInvalidType
public void shouldGet400WhenMakingRequestWithInvalidType() throws javax.xml.bind.JAXBException- Throws:
javax.xml.bind.JAXBException
-
shouldGet401WhenMakingRequestWithInvalidToken
public void shouldGet401WhenMakingRequestWithInvalidToken() throws javax.xml.bind.JAXBException- Throws:
javax.xml.bind.JAXBException
-
shouldGet400WhenMakingRequestWithNonExistingUser
public void shouldGet400WhenMakingRequestWithNonExistingUser() throws javax.xml.bind.JAXBException- Throws:
javax.xml.bind.JAXBException
-
shouldGet400WhenMakingRequestWithInvalidBaseSite
public void shouldGet400WhenMakingRequestWithInvalidBaseSite() throws javax.xml.bind.JAXBException- Throws:
javax.xml.bind.JAXBException
-
shouldGetC360AssignableCustomerCouponList
public void shouldGetC360AssignableCustomerCouponList() throws javax.xml.bind.JAXBException- Throws:
javax.xml.bind.JAXBException
-
shouldGetC360AssignedCustomerCouponList
public void shouldGetC360AssignedCustomerCouponList() throws javax.xml.bind.JAXBException- Throws:
javax.xml.bind.JAXBException
-
shouldGetC360AssignableCustomerCouponListWhenSearchQuery
public void shouldGetC360AssignableCustomerCouponListWhenSearchQuery() throws javax.xml.bind.JAXBException- Throws:
javax.xml.bind.JAXBException
-
shouldGetC360Overview
public void shouldGetC360Overview() throws javax.xml.bind.JAXBException- Throws:
javax.xml.bind.JAXBException
-
shouldGetC360CustomerProfile
public void shouldGetC360CustomerProfile() throws javax.xml.bind.JAXBException- Throws:
javax.xml.bind.JAXBException
-
shouldGetC360CustomerActivityList
public void shouldGetC360CustomerActivityList() throws javax.xml.bind.JAXBException- Throws:
javax.xml.bind.JAXBException
-
getCustomer360WSCall
protected javax.ws.rs.core.Response getCustomer360WSCall(String username, String password, String path, Customer360QueryListWsDTO customer360QueryListWsDTO) throws javax.xml.bind.JAXBException - Throws:
javax.xml.bind.JAXBException
-
marshallDto
- Throws:
javax.xml.bind.JAXBException
-
unmarshallResult
protected <C> C unmarshallResult(javax.ws.rs.core.Response result, Class<C> c) throws javax.xml.bind.JAXBException - Throws:
javax.xml.bind.JAXBException
-