summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/asdc/beans/SecureServicesTest.java
blob: 3cd84af5f9f6b9a67f81e785a16116d38490f97d (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
package org.onap.vid.asdc.beans;

import java.util.Collection;

import org.junit.Test;

public class SecureServicesTest {

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

    @Test
    public void testSetServices() throws Exception {
        SecureServices testSubject;
        Collection<Service> services = null;

        // default test
        testSubject = createTestSubject();
        testSubject.setServices(services);
    }

    @Test
    public void testGetServices() throws Exception {
        SecureServices testSubject;
        Collection<Service> result;

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

    @Test
    public void testIsReadOnly() throws Exception {
        SecureServices testSubject;
        boolean result;

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

    @Test
    public void testSetReadOnly() throws Exception {
        SecureServices testSubject;
        boolean readOnly = false;

        // default test
        testSubject = createTestSubject();
        testSubject.setReadOnly(readOnly);
    }
}