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