Class CustomerExportServiceTest

    • Constructor Detail

      • CustomerExportServiceTest

        public CustomerExportServiceTest()
    • Method Detail

      • 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