aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/controller/RoleGeneratorControllerTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'vid-app-common/src/test/java/org/onap/vid/controller/RoleGeneratorControllerTest.java')
-rw-r--r--vid-app-common/src/test/java/org/onap/vid/controller/RoleGeneratorControllerTest.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/vid-app-common/src/test/java/org/onap/vid/controller/RoleGeneratorControllerTest.java b/vid-app-common/src/test/java/org/onap/vid/controller/RoleGeneratorControllerTest.java
new file mode 100644
index 000000000..c19b810d0
--- /dev/null
+++ b/vid-app-common/src/test/java/org/onap/vid/controller/RoleGeneratorControllerTest.java
@@ -0,0 +1,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) {
+
+ }
+ }
+} \ No newline at end of file