Junit for ArtifactHandlerInternalException 80/78180/3
authorDriptaroop Das <driptaroop.das@in.ibm.com>
Sun, 10 Feb 2019 16:17:57 +0000 (21:47 +0530)
committerTakamune Cho <takamune.cho@att.com>
Thu, 14 Feb 2019 14:13:30 +0000 (14:13 +0000)
Junit for ArtifactHandlerInternalException

Issue-ID: APPC-1412
Change-Id: Ib37177052fea56a31ed486772f0204931e2c9a34
Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
appc-inbound/appc-design-services/provider/src/test/java/org/onap/appc/design/services/util/ArtifactHandlerInternalExceptionTest.java [new file with mode: 0644]

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 (file)
index 0000000..1b63234
--- /dev/null
@@ -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