blob: eab343ab0b89851c5f24ca436991af077a39a46f (
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
41
42
43
44
45
46
47
48
|
package org.onap.vid.policy;
import org.junit.Test;
public class RestObjectTest {
private RestObject createTestSubject() {
return new RestObject();
}
@Test
public void testSet() throws Exception {
RestObject testSubject;
// default test
testSubject = createTestSubject();
testSubject.set(null);
}
@Test
public void testGet() throws Exception {
RestObject testSubject;
// default test
testSubject = createTestSubject();
testSubject.get();
}
@Test
public void testSetStatusCode() throws Exception {
RestObject testSubject;
int v = 0;
// default test
testSubject = createTestSubject();
testSubject.setStatusCode(v);
}
@Test
public void testGetStatusCode() throws Exception {
RestObject testSubject;
int result;
// default test
testSubject = createTestSubject();
result = testSubject.getStatusCode();
}
}
|