diff options
author | Zlatko Murgoski <zlatko.murgoski@nokia.com> | 2018-12-31 11:29:52 +0100 |
---|---|---|
committer | Zlatko Murgoski <zlatko.murgoski@nokia.com> | 2019-01-02 16:11:51 +0100 |
commit | bcec586b8261ee99285973fd2640a6cc4c25451b (patch) | |
tree | 90a92c12acc617696a300212ef525d91d4340995 /src/test/java | |
parent | 84b25b7ab2019a558fad92e21c4cc44c242e4461 (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')
-rw-r--r-- | src/test/java/org/onap/dcae/commonFunction/EventProcessorTest.java | 13 |
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); |