From 545434fd679fa918288b913a6525d2e05777b22a Mon Sep 17 00:00:00 2001 From: "Sonsino, Ofir (os0695)" Date: Sun, 18 Mar 2018 20:07:39 +0200 Subject: Unit tests Change-Id: I43cd9c20e5576a63a0d0f9e78a91c27fcf32b2ad Issue-ID: VID-197 Signed-off-by: Sonsino, Ofir (os0695) --- .../OperationalEnvironmentDeactivateInfoTest.java | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 vid-app-common/src/test/java/org/onap/vid/mso/model/OperationalEnvironmentDeactivateInfoTest.java (limited to 'vid-app-common/src/test/java/org/onap/vid/mso/model/OperationalEnvironmentDeactivateInfoTest.java') diff --git a/vid-app-common/src/test/java/org/onap/vid/mso/model/OperationalEnvironmentDeactivateInfoTest.java b/vid-app-common/src/test/java/org/onap/vid/mso/model/OperationalEnvironmentDeactivateInfoTest.java new file mode 100644 index 000000000..70ed02f31 --- /dev/null +++ b/vid-app-common/src/test/java/org/onap/vid/mso/model/OperationalEnvironmentDeactivateInfoTest.java @@ -0,0 +1,40 @@ +package org.onap.vid.mso.model; + +import org.junit.Test; + +public class OperationalEnvironmentDeactivateInfoTest { + + private OperationalEnvironmentDeactivateInfo createTestSubject() { + return new OperationalEnvironmentDeactivateInfo("", ""); + } + + @Test + public void testGetUserId() throws Exception { + OperationalEnvironmentDeactivateInfo testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getUserId(); + } + + @Test + public void testGetOperationalEnvironmentId() throws Exception { + OperationalEnvironmentDeactivateInfo testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getOperationalEnvironmentId(); + } + + @Test + public void testToString() throws Exception { + OperationalEnvironmentDeactivateInfo testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.toString(); + } +} \ No newline at end of file -- cgit 1.2.3-korg