From 29039d7e4abee0419cf07714dac8f85efdf51b61 Mon Sep 17 00:00:00 2001 From: Driptaroop Das Date: Sun, 10 Feb 2019 21:47:57 +0530 Subject: [PATCH] Junit for ArtifactHandlerInternalException Junit for ArtifactHandlerInternalException Issue-ID: APPC-1412 Change-Id: Ib37177052fea56a31ed486772f0204931e2c9a34 Signed-off-by: Driptaroop Das --- .../util/ArtifactHandlerInternalExceptionTest.java | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 appc-inbound/appc-design-services/provider/src/test/java/org/onap/appc/design/services/util/ArtifactHandlerInternalExceptionTest.java 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 -- 2.16.6