@Test
@UsingDataSet(locations = {
"/test_data/input_data/OrchestrationServiceImplTest_eventListenerTestForOFOEventOfSeries.json" }, loadStrategy = LoadStrategyEnum.CLEAN_INSERT)
@ShouldMatchDataSet(location = "/test_data/expected_data/OrchestrationServiceImplTest_eventListenerTestForOFOEventOfSeries.json")
@IgnorePropertyValue(properties = { "_id", "createdBy", "createdDate", "modifiedBy", "modifiedDate","offeringId","offeringType" })
public void eventListenerTestForOFOEventOfSeries() {
// setup input
EventMessage eventMessage = new EventMessage();
Map<String, Object> map = new HashMap<String, Object>();
map.put("entityGroup", "OFO");
map.put("entityName", "series");
map.put("entityId", "urn:esp:hbo:series:1c5d35d2e45e26238d4e0560b816a057");
map.put("service", "HBO");
map.put("offeringType", "series");
map.put("offeringId", "urn:esp:offering:program:abc123");
eventMessage.setHeaders(map);
String payload = "{ "
+ " \"_id\": \"urn:woodmark:nls:seriesoffering:84B0461471264F9FB260ADC8747FD2E6\", "
+ " \"channelId\": \"urn:woodmark:blueprint:HBOGO\", "
+ " \"faaId\": \"urn:esp:hbo:series:1c5d35d2e45e26238d4e0560b816a057\", &nb
@UsingDataSet(locations = {
"/test_data/input_data/OrchestrationServiceImplTest_eventListenerTestForOFOEventOfSeries.json" }, loadStrategy = LoadStrategyEnum.CLEAN_INSERT)
@ShouldMatchDataSet(location = "/test_data/expected_data/OrchestrationServiceImplTest_eventListenerTestForOFOEventOfSeries.json")
@IgnorePropertyValue(properties = { "_id", "createdBy", "createdDate", "modifiedBy", "modifiedDate","offeringId","offeringType" })
public void eventListenerTestForOFOEventOfSeries() {
// setup input
EventMessage eventMessage = new EventMessage();
Map<String, Object> map = new HashMap<String, Object>();
map.put("entityGroup", "OFO");
map.put("entityName", "series");
map.put("entityId", "urn:esp:hbo:series:1c5d35d2e45e26238d4e0560b816a057");
map.put("service", "HBO");
map.put("offeringType", "series");
map.put("offeringId", "urn:esp:offering:program:abc123");
eventMessage.setHeaders(map);
String payload = "{ "
+ " \"_id\": \"urn:woodmark:nls:seriesoffering:84B0461471264F9FB260ADC8747FD2E6\", "
+ " \"channelId\": \"urn:woodmark:blueprint:HBOGO\", "
+ " \"faaId\": \"urn:esp:hbo:series:1c5d35d2e45e26238d4e0560b816a057\", &nb