Class CustomerPublishActionTest
- java.lang.Object
-
- com.sap.hybris.sapcustomerb2c.outbound.CustomerPublishActionTest
-
- All Implemented Interfaces:
CustomerConstantsUtils
@UnitTest public class CustomerPublishActionTest extends java.lang.Object implements 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 Constructor Description CustomerPublishActionTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckIfTheCorrectValuesWillBeSend()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
-
-
-
Method Detail
-
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:
RetryLaterException- will be raised if action should be again triggered
-
-