aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java/org/onap/dcae/commonFunction/EventProcessorTest.java
diff options
context:
space:
mode:
authorZlatko Murgoski <zlatko.murgoski@nokia.com>2018-12-31 11:29:52 +0100
committerZlatko Murgoski <zlatko.murgoski@nokia.com>2019-01-02 16:11:51 +0100
commitbcec586b8261ee99285973fd2640a6cc4c25451b (patch)
tree90a92c12acc617696a300212ef525d91d4340995 /src/test/java/org/onap/dcae/commonFunction/EventProcessorTest.java
parent84b25b7ab2019a558fad92e21c4cc44c242e4461 (diff)
Fix bug with processing event list3.0.1-ONAP1.3.2casablanca
DMaapEventPublisher processing of eventList Change-Id: I3aa31dd55aefdc5130fcc36712f20bd15c3f7cce Issue-ID: DCAEGEN2-1035 Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
Diffstat (limited to 'src/test/java/org/onap/dcae/commonFunction/EventProcessorTest.java')
-rw-r--r--src/test/java/org/onap/dcae/commonFunction/EventProcessorTest.java13
1 files changed, 0 insertions, 13 deletions
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
@@ -63,19 +63,6 @@ public class EventProcessorTest {
}
@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
EventProcessor eventProcessor = new EventProcessor(mock(EventPublisher.class), properties);