Class CustomerPublishActionTest
java.lang.Object
com.sap.hybris.sapcustomerb2c.outbound.CustomerPublishActionTest
- All Implemented Interfaces:
CustomerConstantsUtils
Test class for SapPublishCustomerAction class check of all value will be passed and set correctly
-
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:
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
-
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
-