From 78028f3b588241200e31b71b8190e9926af626e9 Mon Sep 17 00:00:00 2001 From: Ofir Sonsino Date: Mon, 9 Oct 2017 11:08:05 +0300 Subject: Improve SONAR coverage Change-Id: Ib36c2e6df9fe100a301b89769078c7a06d3a9ae5 Issue-ID: VID-72 Signed-off-by: Ofir Sonsino --- .../PostSubmitVnfChangeTimeSlotsWrapperTest.java | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 vid-app-common/src/test/java/org/openecomp/vid/scheduler/SchedulerResponseWrappers/PostSubmitVnfChangeTimeSlotsWrapperTest.java (limited to 'vid-app-common/src/test/java/org/openecomp/vid/scheduler/SchedulerResponseWrappers/PostSubmitVnfChangeTimeSlotsWrapperTest.java') diff --git a/vid-app-common/src/test/java/org/openecomp/vid/scheduler/SchedulerResponseWrappers/PostSubmitVnfChangeTimeSlotsWrapperTest.java b/vid-app-common/src/test/java/org/openecomp/vid/scheduler/SchedulerResponseWrappers/PostSubmitVnfChangeTimeSlotsWrapperTest.java new file mode 100644 index 00000000..ffe03bf0 --- /dev/null +++ b/vid-app-common/src/test/java/org/openecomp/vid/scheduler/SchedulerResponseWrappers/PostSubmitVnfChangeTimeSlotsWrapperTest.java @@ -0,0 +1,55 @@ +package org.openecomp.vid.scheduler.SchedulerResponseWrappers; + +import org.junit.Test; + + +public class PostSubmitVnfChangeTimeSlotsWrapperTest { + + private PostSubmitVnfChangeTimeSlotsWrapper createTestSubject() { + return new PostSubmitVnfChangeTimeSlotsWrapper(); + } + + + @Test + public void testGetUuid() throws Exception { + PostSubmitVnfChangeTimeSlotsWrapper testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getUuid(); + } + + + @Test + public void testSetUuid() throws Exception { + PostSubmitVnfChangeTimeSlotsWrapper testSubject; + String v = ""; + + // default test + testSubject = createTestSubject(); + testSubject.setUuid(v); + } + + + @Test + public void testToString() throws Exception { + PostSubmitVnfChangeTimeSlotsWrapper testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.toString(); + } + + + @Test + public void testGetResponse() throws Exception { + PostSubmitVnfChangeTimeSlotsWrapper testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getResponse(); + } +} \ No newline at end of file -- cgit 1.2.3-korg