@IntegrationTest public class SingleCodeCouponWebServicesTest extends AbstractCouponWebServicesTest
couponCodeGenerationService, couponWsUtils, OAUTH_CLIENT_ID, OAUTH_CLIENT_PASS, wsRequestBuilder, wsSecuredRequestBuilderdefaultLanguage, jaloSession| Constructor and Description |
|---|
SingleCodeCouponWebServicesTest() |
getCouponCodeGenerationService, getCouponWsUtils, testPutEmptyCouponStatusWsDTO, testPutInvalidCouponStatusWsDTO, updateCouponStatus, updateCouponStatusWithoutAuthorization, validateCouponUsingClientCredentials, validateCouponWithCustomerIdUsingClientCredentials, validateCouponWithoutAuthorization, validateMultiCodeCouponUsingClientCredentialscreateCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionfinish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedpublic void testGetSingleCodeCouponsWithoutAuthorization()
public void testGetSingleCodeCouponUsingClientCredentials()
public void testPostSingleCodeCouponWsDTO()
public void testPostEmptySingleCodeCouponWsDTO()
public void testPostSingleCodeCouponWithDatesWsDTO()
public void testPostSingleCodeCouponWithInconsistentDatesWsDTO()
protected Response putSingleCodeCouponWsDTO(String couponId, String couponName, String startDateVal, String endDateVal, Integer maxRedemptionsPerCustomer, Integer maxTotalRedemptions)
public void testPutSingleCodeCouponWsDTO()
public void testPutSingleCodeActiveCouponWsDTO()
public void testPutEmptySingleCodeCouponWsDTO()
public void testPutInvalidSingleCodeCouponWsDTO()
public void testPutInvalidSingleCodeCouponWsDTO2()
public void testPutSingleCodeCouponWithInvalidDatesWsDTO()
public void testPutSingleCodeCouponWithDatesWsDTO()
public void testPutSingleCodeCouponWithInconsistentDatesWsDTO()
public void testPutCouponStatusWithoutAuthorization()
public void testPutCouponStatusWsDTO1()
public void testPutCouponStatusWsDTO2()
public void testPutEmptyStatusCouponStatusWsDTO()
public void testValidateSingleCodeCouponWithoutAuthorization()
public void testValidateSingleCodeCouponUsingClientCredentials()
public void testValidateSingleCodeCouponWhenCouponIsInvalid()
public void testValidateSingleCodeCouponWithCustomerId()
public void testValidateSingleCodeCouponWithCustomerIdWhenCouponIsNotValid()
public void testValidateSingleCodeCouponWhenCouponCodeIsNotFound()
Copyright © 2017 SAP SE. All Rights Reserved.