summaryrefslogtreecommitdiffstats
path: root/datacollector/src/test/java/org/onap/rapp/datacollector/entity/ves/EventTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'datacollector/src/test/java/org/onap/rapp/datacollector/entity/ves/EventTest.java')
-rw-r--r--datacollector/src/test/java/org/onap/rapp/datacollector/entity/ves/EventTest.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/datacollector/src/test/java/org/onap/rapp/datacollector/entity/ves/EventTest.java b/datacollector/src/test/java/org/onap/rapp/datacollector/entity/ves/EventTest.java
index 9b6700b..63bb440 100644
--- a/datacollector/src/test/java/org/onap/rapp/datacollector/entity/ves/EventTest.java
+++ b/datacollector/src/test/java/org/onap/rapp/datacollector/entity/ves/EventTest.java
@@ -15,6 +15,10 @@
package org.onap.rapp.datacollector.entity.ves;
import static org.junit.Assert.assertEquals;
+
+import java.util.Collections;
+import java.util.List;
+
import org.junit.Test;
public class EventTest {
@@ -27,6 +31,10 @@ public class EventTest {
return Event.of(header, fields);
}
+ public static List<Event> createDumyListOfEvents() {
+ return Collections.singletonList(createDumyEvent());
+ }
+
public static Event createDumyEventWithUe() {
CommonEventHeader header =
CommonEventHeaderTest.createDumyCommonEventHeader();
@@ -35,6 +43,10 @@ public class EventTest {
return Event.of(header, fields);
}
+ public static List<Event> createDumyListOfEventsWithUe() {
+ return Collections.singletonList(createDumyEventWithUe());
+ }
+
@Test
public void of() {
CommonEventHeader header =