diff options
author | Sonsino, Ofir (os0695) <os0695@intl.att.com> | 2018-03-18 16:06:37 +0200 |
---|---|---|
committer | Sonsino, Ofir (os0695) <os0695@intl.att.com> | 2018-03-18 16:06:37 +0200 |
commit | 8fdf2dee7684f4911a58a2350626300af52b6e4d (patch) | |
tree | 656b4e847e097838f470a468c92aa7a1ebc282d6 /vid-app-common/src/test/java/org/onap/vid/controller/test/TestPageControllerTest.java | |
parent | c9d63f49af5455f503ca63395121b7cd4d8c8c88 (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/TestPageControllerTest.java')
-rw-r--r-- | vid-app-common/src/test/java/org/onap/vid/controller/test/TestPageControllerTest.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/vid-app-common/src/test/java/org/onap/vid/controller/test/TestPageControllerTest.java b/vid-app-common/src/test/java/org/onap/vid/controller/test/TestPageControllerTest.java new file mode 100644 index 000000000..f47eb4079 --- /dev/null +++ b/vid-app-common/src/test/java/org/onap/vid/controller/test/TestPageControllerTest.java @@ -0,0 +1,31 @@ +package org.onap.vid.controller.test; + +import org.junit.Test; +import org.springframework.web.servlet.ModelAndView; + +public class TestPageControllerTest { + + private TestPageController createTestSubject() { + return new TestPageController(); + } + + @Test + public void testTestMsoPage() throws Exception { + TestPageController testSubject; + ModelAndView result; + + // default test + testSubject = createTestSubject(); + result = testSubject.testMsoPage(); + } + + @Test + public void testTestViewEditPage() throws Exception { + TestPageController testSubject; + ModelAndView result; + + // default test + testSubject = createTestSubject(); + result = testSubject.testViewEditPage(); + } +}
\ No newline at end of file |