aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/aai/model/OwningEntityTest.java
blob: 1e160d29714b87016239bc9b135ccb6011f4d3c8 (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
package org.onap.vid.aai.model;

import org.junit.Test;

public class OwningEntityTest {

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

    @Test
    public void testGetOwningEntityId() throws Exception {
        OwningEntity testSubject;
        String result;

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

    @Test
    public void testSetOwningEntityId() throws Exception {
        OwningEntity testSubject;
        String owningEntityId = "";

        // default test
        testSubject = createTestSubject();
        testSubject.setOwningEntityId(owningEntityId);
    }

    @Test
    public void testGetOwningEntityName() throws Exception {
        OwningEntity testSubject;
        String result;

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

    @Test
    public void testSetOwningEntityName() throws Exception {
        OwningEntity testSubject;
        String owningEntityName = "";

        // default test
        testSubject = createTestSubject();
        testSubject.setOwningEntityName(owningEntityName);
    }
}