Class CustomerExportServiceTest
java.lang.Object
com.sap.hybris.sapcustomerb2c.outbound.CustomerExportServiceTest
- All Implemented Interfaces:
CustomerConstantsUtils
Test class SendCustomerToDataHub
-
Field Summary
Fields inherited from interface com.sap.hybris.sapcustomerb2c.CustomerConstantsUtils
ADDRESS_USAGE_DE, BASE_STORE, CONTACT_ID, COUNTRY, COUNTRY_DE, CUSTOMER_ID, FAX, FEED, FIRSTNAME, LASTNAME, OBJ_TYPE_KNA1, PHONE1, POSTALCODE, RAW_HYBRIS_CUSTOMER, REGION, SESSION_LANGUAGE, STREETNAME, STREETNUMBER, TITLE, TOWN, UID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwhat to test:
check if customer, session language, base store name and address is mapped correctly.voidwhat 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 correctlyvoidwhat to test:
check if address is mapped correctly
expected result:
everything should be mapped correctlyvoidwhat to test:
* check if customer, session language, base store name is mapped correctly
expected result:
everything should be mapped correctly
-
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
- everything should be mapped correctly
expected result:
-
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
- everything should be mapped correctly
expected result:
-
checkIfMapIsCorrecltyForCustomer
public void checkIfMapIsCorrecltyForCustomer()what to test:
-
*
- check if customer, session language, base store name is mapped correctly
- everything should be mapped correctly
expected result:
-
checkIfMapIsCorrecltyForAddress
public void checkIfMapIsCorrecltyForAddress()what to test:
- check if address is mapped correctly
- everything should be mapped correctly
expected result:
-