aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/controller/RoleGeneratorControllerTest.java
blob: c19b810d028b7613b6f7d4b36214c9d72be09c03 (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
package org.onap.vid.controller;

import org.junit.Test;
import org.springframework.http.ResponseEntity;

public class RoleGeneratorControllerTest {

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

    @Test
    public void testGenerateRoleScript() throws Exception {
        RoleGeneratorController testSubject;
        boolean firstRun = false;
        ResponseEntity<String> result;

        // default test
        try {
            testSubject = createTestSubject();
            result = testSubject.generateRoleScript(firstRun);
        } catch (Exception e) {

        }
    }
}