Class CustomerPublishActionTest

java.lang.Object
com.sap.hybris.sapcustomerb2c.outbound.CustomerPublishActionTest
All Implemented Interfaces:
CustomerConstantsUtils

@UnitTest public class CustomerPublishActionTest extends Object implements CustomerConstantsUtils
Test class for SapPublishCustomerAction class check of all value will be passed and set correctly
  • Constructor Details

    • CustomerPublishActionTest

      public CustomerPublishActionTest()
  • Method Details

    • checkIfTheCorrectValuesWillBeSend

      public void checkIfTheCorrectValuesWillBeSend()
      what to test:
      execute Action
      expected result:
    • update SapReplicationInfo property on the customer model
    • check if customerModel will be transferred to the SendToDataHub class
    • check if baseStoreName will be set correctly
    • check if session language will be set correctly


    • Throws:
      de.hybris.platform.task.RetryLaterException - will be raised if action should be again triggered