Class CouponCodeGenerationWebServicesTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.couponwebservices.test.webservices.CouponCodeGenerationWebServicesTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class CouponCodeGenerationWebServicesTest extends ServicelayerTest
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
OAUTH_CLIENT_ID
static java.lang.String
OAUTH_CLIENT_PASS
-
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 CouponCodeGenerationWebServicesTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
shouldProvideCodeGenerationConfiguration()
void
shouldProvideCodeGenerationConfigurationPaged()
void
shouldProvideCodeGenerationConfigurationSortedByNameWithDesc()
void
testGetGeneratedCouponCodes()
void
testGetGeneratedCouponCodesUnauthorized()
void
testGetMultiCodeCouponWithGeneratedCodes()
void
testPutGenerateCodes()
void
testPutGenerateCodesWithoutAuthorization()
-
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_CLIENT_ID
public static final java.lang.String OAUTH_CLIENT_ID
- See Also:
- Constant Field Values
-
OAUTH_CLIENT_PASS
public static final java.lang.String OAUTH_CLIENT_PASS
- See Also:
- Constant Field Values
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testPutGenerateCodesWithoutAuthorization
public void testPutGenerateCodesWithoutAuthorization()
-
testPutGenerateCodes
public void testPutGenerateCodes()
-
testGetGeneratedCouponCodesUnauthorized
public void testGetGeneratedCouponCodesUnauthorized() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testGetGeneratedCouponCodes
public void testGetGeneratedCouponCodes() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testGetMultiCodeCouponWithGeneratedCodes
public void testGetMultiCodeCouponWithGeneratedCodes() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldProvideCodeGenerationConfiguration
public void shouldProvideCodeGenerationConfiguration()
-
shouldProvideCodeGenerationConfigurationSortedByNameWithDesc
public void shouldProvideCodeGenerationConfigurationSortedByNameWithDesc()
-
shouldProvideCodeGenerationConfigurationPaged
public void shouldProvideCodeGenerationConfigurationPaged()
-
-