From bcec586b8261ee99285973fd2640a6cc4c25451b Mon Sep 17 00:00:00 2001 From: Zlatko Murgoski Date: Mon, 31 Dec 2018 11:29:52 +0100 Subject: Fix bug with processing event list DMaapEventPublisher processing of eventList Change-Id: I3aa31dd55aefdc5130fcc36712f20bd15c3f7cce Issue-ID: DCAEGEN2-1035 Signed-off-by: Zlatko Murgoski --- .../org/onap/dcae/commonFunction/EventProcessorTest.java | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/test/java/org/onap/dcae/commonFunction/EventProcessorTest.java') diff --git a/src/test/java/org/onap/dcae/commonFunction/EventProcessorTest.java b/src/test/java/org/onap/dcae/commonFunction/EventProcessorTest.java index 697510c4..5641a927 100644 --- a/src/test/java/org/onap/dcae/commonFunction/EventProcessorTest.java +++ b/src/test/java/org/onap/dcae/commonFunction/EventProcessorTest.java @@ -62,19 +62,6 @@ public class EventProcessorTest { properties = new ApplicationSettings(new String[]{}, CLIUtils::processCmdLine); } - @Test - public void testLoad() { - //given - EventProcessor ec = new EventProcessor(mock(EventPublisher.class), properties); - ec.event = new org.json.JSONObject(ev); - //when - ec.overrideEvent(); - - //then - Boolean hasSourceNameNode = ec.event.getJSONObject("event").getJSONObject("commonEventHeader").has("sourceName"); - assertTrue(hasSourceNameNode); - } - @Test public void shouldParseJsonEvents() throws ReflectiveOperationException { //given -- cgit 1.2.3-korg