org.onap migration
[vid.git] / vid-app-common / src / test / java / org / onap / vid / controller / PropertyControllerTest.java
1 package org.onap.vid.controller;
2
3 import javax.servlet.http.HttpServletRequest;
4
5 import org.junit.Test;
6 import org.springframework.http.ResponseEntity;
7 import org.springframework.web.servlet.ModelAndView;
8
9 public class PropertyControllerTest {
10
11         private PropertyController createTestSubject() {
12                 return new PropertyController();
13         }
14
15         @Test
16         public void testWelcome() throws Exception {
17                 PropertyController testSubject;
18                 HttpServletRequest request = null;
19                 ModelAndView result;
20
21                 // default test
22                 testSubject = createTestSubject();
23                 result = testSubject.welcome(request);
24         }
25
26
27         @Test
28         public void testGetProperty() throws Exception {
29                 PropertyController testSubject;
30                 String name = "";
31                 String defaultvalue = "";
32                 HttpServletRequest request = null;
33                 ResponseEntity<String> result;
34
35                 // default test
36                 testSubject = createTestSubject();
37                 result = testSubject.getProperty(name, defaultvalue, request);
38         }
39 }