diff options
Diffstat (limited to 'vid-app-common/src/test/java/org/openecomp/vid/policy/rest')
-rw-r--r-- | vid-app-common/src/test/java/org/openecomp/vid/policy/rest/RequestDetailsTest.java | 33 | ||||
-rw-r--r-- | vid-app-common/src/test/java/org/openecomp/vid/policy/rest/TestSuite.java | 11 |
2 files changed, 44 insertions, 0 deletions
diff --git a/vid-app-common/src/test/java/org/openecomp/vid/policy/rest/RequestDetailsTest.java b/vid-app-common/src/test/java/org/openecomp/vid/policy/rest/RequestDetailsTest.java new file mode 100644 index 00000000..70577557 --- /dev/null +++ b/vid-app-common/src/test/java/org/openecomp/vid/policy/rest/RequestDetailsTest.java @@ -0,0 +1,33 @@ +package org.openecomp.vid.policy.rest; + +import org.junit.Test; + + +public class RequestDetailsTest { + + private RequestDetails createTestSubject() { + return new RequestDetails(); + } + + + @Test + public void testGetPolicyName() throws Exception { + RequestDetails testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getPolicyName(); + } + + + @Test + public void testSetPolicyName() throws Exception { + RequestDetails testSubject; + String policyName = ""; + + // default test + testSubject = createTestSubject(); + testSubject.setPolicyName(policyName); + } +}
\ No newline at end of file diff --git a/vid-app-common/src/test/java/org/openecomp/vid/policy/rest/TestSuite.java b/vid-app-common/src/test/java/org/openecomp/vid/policy/rest/TestSuite.java new file mode 100644 index 00000000..9b491c86 --- /dev/null +++ b/vid-app-common/src/test/java/org/openecomp/vid/policy/rest/TestSuite.java @@ -0,0 +1,11 @@ +package org.openecomp.vid.policy.rest; + +import org.junit.runner.RunWith; +import org.junit.runners.Suite; + +@RunWith(Suite.class) +@Suite.SuiteClasses( + +{ RequestDetailsTest.class }) +public class TestSuite { // nothing +} |