diff options
author | 2017-10-09 11:08:05 +0300 | |
---|---|---|
committer | 2017-10-09 11:08:05 +0300 | |
commit | 78028f3b588241200e31b71b8190e9926af626e9 (patch) | |
tree | 4cc4969710b9f815f382f5e387f2da1bf404703a /vid-app-common/src/test/java/org/openecomp/vid/scheduler/SchedulerResponseWrappers/PostCreateNewVnfWrapperTest.java | |
parent | 3274b39fef63c43c6eeb202e98b71b01e0f714ff (diff) |
Improve SONAR coverage
Change-Id: Ib36c2e6df9fe100a301b89769078c7a06d3a9ae5
Issue-ID: VID-72
Signed-off-by: Ofir Sonsino <os0695@att.com>
Diffstat (limited to 'vid-app-common/src/test/java/org/openecomp/vid/scheduler/SchedulerResponseWrappers/PostCreateNewVnfWrapperTest.java')
-rw-r--r-- | vid-app-common/src/test/java/org/openecomp/vid/scheduler/SchedulerResponseWrappers/PostCreateNewVnfWrapperTest.java | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/vid-app-common/src/test/java/org/openecomp/vid/scheduler/SchedulerResponseWrappers/PostCreateNewVnfWrapperTest.java b/vid-app-common/src/test/java/org/openecomp/vid/scheduler/SchedulerResponseWrappers/PostCreateNewVnfWrapperTest.java new file mode 100644 index 00000000..16675dd1 --- /dev/null +++ b/vid-app-common/src/test/java/org/openecomp/vid/scheduler/SchedulerResponseWrappers/PostCreateNewVnfWrapperTest.java @@ -0,0 +1,55 @@ +package org.openecomp.vid.scheduler.SchedulerResponseWrappers; + +import org.junit.Test; + + +public class PostCreateNewVnfWrapperTest { + + private PostCreateNewVnfWrapper createTestSubject() { + return new PostCreateNewVnfWrapper(); + } + + + @Test + public void testGetUuid() throws Exception { + PostCreateNewVnfWrapper testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getUuid(); + } + + + @Test + public void testSetUuid() throws Exception { + PostCreateNewVnfWrapper testSubject; + String v = ""; + + // default test + testSubject = createTestSubject(); + testSubject.setUuid(v); + } + + + @Test + public void testToString() throws Exception { + PostCreateNewVnfWrapper testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.toString(); + } + + + @Test + public void testGetResponse() throws Exception { + PostCreateNewVnfWrapper testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getResponse(); + } +}
\ No newline at end of file |