Class CustomerExportServiceTest
- java.lang.Object
-
- com.sap.hybris.sapcustomerb2c.outbound.CustomerExportServiceTest
-
- All Implemented Interfaces:
CustomerConstantsUtils
@UnitTest public class CustomerExportServiceTest extends java.lang.Object implements 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 Constructor Description CustomerExportServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckIfCustomerIsTransferredCorrectly()what to test:
check if customer, session language, base store name and address is mapped correctly.voidcheckIfCustomerIsTransferredCorrectlyInTwoCalls()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 correctlyvoidcheckIfMapIsCorrecltyForAddress()what to test:
check if address is mapped correctly
expected result:
everything should be mapped correctlyvoidcheckIfMapIsCorrecltyForCustomer()what to test:
* check if customer, session language, base store name is mapped correctly
expected result:
everything should be mapped correctly
-
-
-
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
- 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:
-
-