Class CustomerExportServiceTest

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

@UnitTest public class CustomerExportServiceTest extends Object implements CustomerConstantsUtils
Test class SendCustomerToDataHub
  • Constructor Details

    • CustomerExportServiceTest

      public CustomerExportServiceTest()
  • Method Details

    • checkIfCustomerIsTransferredCorrectly

      public void checkIfCustomerIsTransferredCorrectly()
      what to test:
      • check if customer, session language, base store name and address is mapped correctly. And Data are send to the Data Hub

      • expected result:
      • everything should be mapped correctly
    • checkIfCustomerIsTransferredCorrectlyInTwoCalls

      public void checkIfCustomerIsTransferredCorrectlyInTwoCalls()
      what to test:
      • check if customer, session language, base store name and address is mapped correctly and in the second doesn't use the data from the first call

      • expected result:
      • everything should be mapped correctly
    • checkIfMapIsCorrecltyForCustomer

      public void checkIfMapIsCorrecltyForCustomer()
      what to test:
        *
      • check if customer, session language, base store name is mapped correctly

      • expected result:
      • everything should be mapped correctly
    • checkIfMapIsCorrecltyForAddress

      public void checkIfMapIsCorrecltyForAddress()
      what to test:
      • check if address is mapped correctly

      • expected result:
      • everything should be mapped correctly