Class CustomerRegistrationEventListenerTest
java.lang.Object
com.sap.hybris.sapcustomerb2c.outbound.CustomerRegistrationEventListenerTest
Test class for SapPublishCustomerAction class check of all value will be passed and set correctly
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwhat to test:
Replicate Registered User not active
expected result: Business Process should NOT be startedvoidwhat to test:
SAP Global configuration exists
expected result: Business Process should NOT be startedvoidwhat to test:
Replicate Registered User active
expected result: Business Process should be started
-
Constructor Details
-
CustomerRegistrationEventListenerTest
public CustomerRegistrationEventListenerTest()
-
-
Method Details
-
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
-