Unit tests
[vid.git] / vid-app-common / src / test / java / org / onap / vid / controller / test / TestPageControllerTest.java
1 package org.onap.vid.controller.test;
2
3 import org.junit.Test;
4 import org.springframework.web.servlet.ModelAndView;
5
6 public class TestPageControllerTest {
7
8     private TestPageController createTestSubject() {
9         return new TestPageController();
10     }
11
12     @Test
13     public void testTestMsoPage() throws Exception {
14         TestPageController testSubject;
15         ModelAndView result;
16
17         // default test
18         testSubject = createTestSubject();
19         result = testSubject.testMsoPage();
20     }
21
22     @Test
23     public void testTestViewEditPage() throws Exception {
24         TestPageController testSubject;
25         ModelAndView result;
26
27         // default test
28         testSubject = createTestSubject();
29         result = testSubject.testViewEditPage();
30     }
31 }