X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=src%2Ftest%2Fjava%2Forg%2Fonap%2Fclamp%2Fclds%2Fit%2FSdcReqItCase.java;h=36cbc590cd2d6f3734d2d53fc930b6cc039c0757;hb=2aad6d681dcbea5564425648375f7ddca2080940;hp=f0db51293ea040fd451c5efd694c2a78828680e4;hpb=f172e9d4656c960e81f72cc6d6e52770271df9c9;p=clamp.git diff --git a/src/test/java/org/onap/clamp/clds/it/SdcReqItCase.java b/src/test/java/org/onap/clamp/clds/it/SdcReqItCase.java index f0db5129..36cbc590 100644 --- a/src/test/java/org/onap/clamp/clds/it/SdcReqItCase.java +++ b/src/test/java/org/onap/clamp/clds/it/SdcReqItCase.java @@ -32,6 +32,7 @@ import java.security.GeneralSecurityException; import java.util.List; import org.apache.commons.codec.DecoderException; +import org.json.JSONException; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; @@ -87,7 +88,7 @@ public class SdcReqItCase { } @Test - public void formatSdcReqTest() { + public void formatSdcReqTest() throws JSONException { String jsonResult = sdcReq.formatSdcReq("payload", "artifactName", "artifactLabel", "artifactType"); JSONAssert.assertEquals( "{\"payloadData\" : \"cGF5bG9hZA==\",\"artifactLabel\" : \"artifactLabel\",\"artifactName\" :\"artifactName\",\"artifactType\" : \"artifactType\","