Class KymaEventEmitStrategyTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.kymaintegrationservices.strategies.impl.KymaEventEmitStrategyTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class KymaEventEmitStrategyTest extends ServicelayerTest
-
-
Field Summary
-
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 KymaEventEmitStrategyTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
invalidEventDestination()
void
invalidEventDestinationNoCredentials()
void
invalidMessage()
void
sendEvent()
void
sendEventFailedWithConnectExceptionConsecutiveRetrySuccess()
void
sendEventFailedWithConnectExceptionRetryTaskTriggered()
void
sendEventFailedWithCredentialExceptionConsecutiveRetrySuccess()
void
sendEventFailedWithPayloadException()
void
sendEventFailedWithPayloadExceptionNotFound()
void
sendEventFailedWithPayloadExceptionNoType()
void
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
-
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception
- Throws:
java.lang.Exception
-
sendEvent
public void sendEvent()
-
invalidMessage
public void invalidMessage() throws CredentialException
- Throws:
CredentialException
-
invalidEventDestination
public void invalidEventDestination()
-
invalidEventDestinationNoCredentials
public void invalidEventDestinationNoCredentials() throws CredentialException
- Throws:
CredentialException
-
sendEventFailedWithPayloadException
public void sendEventFailedWithPayloadException() throws CredentialException
- Throws:
CredentialException
-
sendEventFailedWithPayloadExceptionNoType
public void sendEventFailedWithPayloadExceptionNoType() throws CredentialException
- Throws:
CredentialException
-
sendEventFailedWithPayloadExceptionNotFound
public void sendEventFailedWithPayloadExceptionNotFound() throws CredentialException
- Throws:
CredentialException
-
sendEventFailedWithConnectExceptionConsecutiveRetrySuccess
public void sendEventFailedWithConnectExceptionConsecutiveRetrySuccess() throws CredentialException
- Throws:
CredentialException
-
sendEventFailedWithCredentialExceptionConsecutiveRetrySuccess
public void sendEventFailedWithCredentialExceptionConsecutiveRetrySuccess() throws CredentialException
- Throws:
CredentialException
-
sendEventFailedWithConnectExceptionRetryTaskTriggered
public void sendEventFailedWithConnectExceptionRetryTaskTriggered() throws CredentialException
- Throws:
CredentialException
-
-