summaryrefslogtreecommitdiffstats
path: root/appc-inbound
diff options
context:
space:
mode:
authorSudarshan Kumar <sudars19@in.ibm.com>2019-02-14 16:27:43 +0530
committerPatrick Brady <patrick.brady@att.com>2019-02-16 00:40:50 +0000
commit35c9b7278d54a84e7964ec638644405e2c11a9c0 (patch)
treeee1cd81ba1edba4066a354f776244f887b9352da /appc-inbound
parentfa84c610d97ea983203fa0e79635b7167578d745 (diff)
Added Junit for RequestValidationException.Java
Added Junit for RequestValidationException.Java Issue-ID: APPC-1372 Change-Id: Ie56b6ff0dc1a3c0fafbd954f658a08965b006519 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
Diffstat (limited to 'appc-inbound')
-rw-r--r--appc-inbound/appc-design-services/provider/src/test/java/org/onap/appc/design/dbervices/RequestValidationExceptionTest.java34
1 files changed, 34 insertions, 0 deletions
diff --git a/appc-inbound/appc-design-services/provider/src/test/java/org/onap/appc/design/dbervices/RequestValidationExceptionTest.java b/appc-inbound/appc-design-services/provider/src/test/java/org/onap/appc/design/dbervices/RequestValidationExceptionTest.java
new file mode 100644
index 000000000..4dd259987
--- /dev/null
+++ b/appc-inbound/appc-design-services/provider/src/test/java/org/onap/appc/design/dbervices/RequestValidationExceptionTest.java
@@ -0,0 +1,34 @@
+/*
+ * ============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.dbervices;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+public class RequestValidationExceptionTest {
+
+ @Test
+ public void testRequestValidationException() {
+ RequestValidationException requestValidationException = new RequestValidationException(
+ "RequestValidationException");
+ Assert.assertEquals("RequestValidationException", requestValidationException.getMessage());
+ }
+
+}