aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/mso/RestObjectTest.java
blob: 38ccf6cfcfda32c640885275c665c326d4e7b631 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
package org.onap.vid.mso;

import org.apache.poi.hssf.record.formula.functions.T;
import org.junit.Test;

public class RestObjectTest {

    private RestObject createTestSubject() {
        return new RestObject();
    }

    @Test
    public void testSet() throws Exception {
        RestObject testSubject;
        T t = null;

        // default test
        testSubject = createTestSubject();
        testSubject.set(t);
    }

    @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();
    }

    @Test
    public void testGetRaw() throws Exception {
        RestObject testSubject;
        String result;

        // default test
        testSubject = createTestSubject();
        result = testSubject.getRaw();
    }

    @Test
    public void testSetRaw() throws Exception {
        RestObject testSubject;
        String rawT = "";

        // default test
        testSubject = createTestSubject();
        testSubject.setRaw(rawT);
    }

    @Test
    public void testToString() throws Exception {
        RestObject testSubject;
        String result;

        // default test
        testSubject = createTestSubject();
        result = testSubject.toString();
    }
}