diff options
Diffstat (limited to 'openecomp-be/tools/zusammen-tools/src/test/java/org/openecomp/core/tools/commands/exportinfo/serialize/VLMExtractTest.java')
-rw-r--r-- | openecomp-be/tools/zusammen-tools/src/test/java/org/openecomp/core/tools/commands/exportinfo/serialize/VLMExtractTest.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/openecomp-be/tools/zusammen-tools/src/test/java/org/openecomp/core/tools/commands/exportinfo/serialize/VLMExtractTest.java b/openecomp-be/tools/zusammen-tools/src/test/java/org/openecomp/core/tools/commands/exportinfo/serialize/VLMExtractTest.java index 9faf5918c6..9c8b1815a1 100644 --- a/openecomp-be/tools/zusammen-tools/src/test/java/org/openecomp/core/tools/commands/exportinfo/serialize/VLMExtractTest.java +++ b/openecomp-be/tools/zusammen-tools/src/test/java/org/openecomp/core/tools/commands/exportinfo/serialize/VLMExtractTest.java @@ -20,14 +20,14 @@ package org.openecomp.core.tools.commands.exportinfo.serialize; -import org.openecomp.core.tools.exportinfo.ExportSerializer; -import org.testng.annotations.Test; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNotNull; +import static org.junit.jupiter.api.Assertions.assertNull; -import static org.testng.Assert.*; +import org.junit.Test; +import org.openecomp.core.tools.exportinfo.ExportSerializer; public class VLMExtractTest { - - @Test public void extractVLM(){ String vlmId = "979a56c7b2fa41e6a5742137f53a5c1b"; @@ -51,7 +51,7 @@ public class VLMExtractTest { } - @Test(expectedExceptions = IllegalStateException.class) + @Test(expected = IllegalStateException.class) public void failToExtractVLMBecauseJsonIsCorrupted(){ String elemenet_info_string = "gfhhhghgh"; assertNull(new CustomExportSerializer().extractVlm(elemenet_info_string)); |