summaryrefslogtreecommitdiffstats
path: root/appc-inbound/appc-design-services/provider
diff options
context:
space:
mode:
authorDriptaroop Das <driptaroop.das@in.ibm.com>2019-02-10 21:47:57 +0530
committerTakamune Cho <takamune.cho@att.com>2019-02-14 14:13:30 +0000
commit29039d7e4abee0419cf07714dac8f85efdf51b61 (patch)
tree639a4a9ea2a616a24c849788edcac6f6f6643bc2 /appc-inbound/appc-design-services/provider
parent49628759a182bda58c486f42fe11a032d0c217a2 (diff)
Junit for ArtifactHandlerInternalException
Junit for ArtifactHandlerInternalException Issue-ID: APPC-1412 Change-Id: Ib37177052fea56a31ed486772f0204931e2c9a34 Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
Diffstat (limited to 'appc-inbound/appc-design-services/provider')
-rw-r--r--appc-inbound/appc-design-services/provider/src/test/java/org/onap/appc/design/services/util/ArtifactHandlerInternalExceptionTest.java36
1 files changed, 36 insertions, 0 deletions
diff --git a/appc-inbound/appc-design-services/provider/src/test/java/org/onap/appc/design/services/util/ArtifactHandlerInternalExceptionTest.java b/appc-inbound/appc-design-services/provider/src/test/java/org/onap/appc/design/services/util/ArtifactHandlerInternalExceptionTest.java
new file mode 100644
index 000000000..1b6323489
--- /dev/null
+++ b/appc-inbound/appc-design-services/provider/src/test/java/org/onap/appc/design/services/util/ArtifactHandlerInternalExceptionTest.java
@@ -0,0 +1,36 @@
+/*
+ * ============LICENSE_START=======================================================
+ * ONAP : APPC
+ * ================================================================================
+ * Copyright 2019 IBM
+ *=================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.appc.design.services.util;
+
+import org.junit.Test;
+
+import static org.hamcrest.CoreMatchers.is;
+import static org.junit.Assert.assertThat;
+
+public class ArtifactHandlerInternalExceptionTest {
+
+ @Test
+ public void testException(){
+ ArtifactHandlerInternalException exception = new ArtifactHandlerInternalException("ArtifactHandlerInternalException");
+ assertThat(exception.getMessage(), is("ArtifactHandlerInternalException"));
+ }
+
+} \ No newline at end of file