diff options
Diffstat (limited to 'vid-app-common/src/test/java/org/onap/vid/model/ResultTest.java')
-rw-r--r-- | vid-app-common/src/test/java/org/onap/vid/model/ResultTest.java | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/vid-app-common/src/test/java/org/onap/vid/model/ResultTest.java b/vid-app-common/src/test/java/org/onap/vid/model/ResultTest.java new file mode 100644 index 00000000..ea7448bc --- /dev/null +++ b/vid-app-common/src/test/java/org/onap/vid/model/ResultTest.java @@ -0,0 +1,30 @@ +package org.onap.vid.model; + +import org.junit.Test; + +public class ResultTest { + + private Result createTestSubject() { + return new Result(""); + } + + @Test + public void testGetResult() throws Exception { + Result testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getResult(); + } + + @Test + public void testSetResult() throws Exception { + Result testSubject; + String result = ""; + + // default test + testSubject = createTestSubject(); + testSubject.setResult(result); + } +}
\ No newline at end of file |