aboutsummaryrefslogtreecommitdiffstats
path: root/common-be/src/test/java/org/openecomp/sdc/be/datatypes/enums/JsonPresentationFieldsTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'common-be/src/test/java/org/openecomp/sdc/be/datatypes/enums/JsonPresentationFieldsTest.java')
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/enums/JsonPresentationFieldsTest.java79
1 files changed, 79 insertions, 0 deletions
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/enums/JsonPresentationFieldsTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/enums/JsonPresentationFieldsTest.java
new file mode 100644
index 0000000000..9b26af8567
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/enums/JsonPresentationFieldsTest.java
@@ -0,0 +1,79 @@
+package org.openecomp.sdc.be.datatypes.enums;
+
+import org.junit.Test;
+
+public class JsonPresentationFieldsTest {
+
+ private JsonPresentationFields createTestSubject() {
+ return JsonPresentationFields.API_URL;
+ }
+
+ @Test
+ public void testGetPresentation() throws Exception {
+ JsonPresentationFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPresentation();
+ }
+
+ @Test
+ public void testSetPresentation() throws Exception {
+ JsonPresentationFields testSubject;
+ String presentation = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPresentation(presentation);
+ }
+
+ @Test
+ public void testGetStoredAs() throws Exception {
+ JsonPresentationFields testSubject;
+ GraphPropertyEnum result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStoredAs();
+ }
+
+ @Test
+ public void testSetStoredAs() throws Exception {
+ JsonPresentationFields testSubject;
+ GraphPropertyEnum storedAs = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStoredAs(storedAs);
+ }
+
+ @Test
+ public void testGetPresentationByGraphProperty() throws Exception {
+ GraphPropertyEnum property = null;
+ String result;
+
+ // default test
+ result = JsonPresentationFields.getPresentationByGraphProperty(null);
+ result = JsonPresentationFields.getPresentationByGraphProperty(GraphPropertyEnum.INVARIANT_UUID);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ JsonPresentationFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetByPresentation() throws Exception {
+ String presentation = "";
+ JsonPresentationFields result;
+
+ // default test
+ result = JsonPresentationFields.getByPresentation(presentation);
+ }
+} \ No newline at end of file