aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/controller/test/TestMsoControllerTest.java
diff options
context:
space:
mode:
authorSonsino, Ofir (os0695) <os0695@intl.att.com>2018-03-18 16:06:37 +0200
committerSonsino, Ofir (os0695) <os0695@intl.att.com>2018-03-18 16:06:37 +0200
commit8fdf2dee7684f4911a58a2350626300af52b6e4d (patch)
tree656b4e847e097838f470a468c92aa7a1ebc282d6 /vid-app-common/src/test/java/org/onap/vid/controller/test/TestMsoControllerTest.java
parentc9d63f49af5455f503ca63395121b7cd4d8c8c88 (diff)
Unit tests
Change-Id: I9ff2a916f09856e3a79d037a8815224ddb9e7a9b Issue-ID: VID-197 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
Diffstat (limited to 'vid-app-common/src/test/java/org/onap/vid/controller/test/TestMsoControllerTest.java')
-rw-r--r--vid-app-common/src/test/java/org/onap/vid/controller/test/TestMsoControllerTest.java29
1 files changed, 29 insertions, 0 deletions
diff --git a/vid-app-common/src/test/java/org/onap/vid/controller/test/TestMsoControllerTest.java b/vid-app-common/src/test/java/org/onap/vid/controller/test/TestMsoControllerTest.java
new file mode 100644
index 000000000..e5d62c7d0
--- /dev/null
+++ b/vid-app-common/src/test/java/org/onap/vid/controller/test/TestMsoControllerTest.java
@@ -0,0 +1,29 @@
+package org.onap.vid.controller.test;
+
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.junit.Test;
+import org.springframework.http.ResponseEntity;
+
+public class TestMsoControllerTest {
+
+ private TestMsoController createTestSubject() {
+ return new TestMsoController();
+ }
+
+
+ @Test
+ public void testGetOrchestrationRequests() throws Exception {
+ TestMsoController testSubject;
+ String filterString = "";
+ HttpServletRequest request = null;
+ ResponseEntity<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getOrchestrationRequests(filterString, request);
+ }
+
+
+} \ No newline at end of file