Class CustomerRegistrationEventListenerTest
- java.lang.Object
-
- com.sap.hybris.sapcustomerb2c.outbound.CustomerRegistrationEventListenerTest
-
@UnitTest public class CustomerRegistrationEventListenerTest extends java.lang.Object
Test class for SapPublishCustomerAction class check of all value will be passed and set correctly
-
-
Constructor Summary
Constructors Constructor Description CustomerRegistrationEventListenerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckNoReplicationIfReplicateRegisteredUserIsNotActive()what to test:
Replicate Registered User not active
expected result: Business Process should NOT be startedvoidcheckNoReplicationSAPGobalConfigurationExists()what to test:
SAP Global configuration exists
expected result: Business Process should NOT be startedvoidcheckReplicationIfReplicateRegisteredUserIsActive()what to test:
Replicate Registered User active
expected result: Business Process should be started
-
-
-
Method Detail
-
checkNoReplicationSAPGobalConfigurationExists
public void checkNoReplicationSAPGobalConfigurationExists()
what to test:
SAP Global configuration exists
expected result:- Business Process should NOT be started
-
checkNoReplicationIfReplicateRegisteredUserIsNotActive
public void checkNoReplicationIfReplicateRegisteredUserIsNotActive()
what to test:
Replicate Registered User not active
expected result:- Business Process should NOT be started
-
checkReplicationIfReplicateRegisteredUserIsActive
public void checkReplicationIfReplicateRegisteredUserIsActive()
what to test:
Replicate Registered User active
expected result:- Business Process should be started
-
-