aboutsummaryrefslogtreecommitdiffstats
path: root/mso-api-handlers/mso-api-handler-infra/src/test/java/org/openecomp/mso/apihandlerinfra/volumebeans/ObjectFactoryTest.java
diff options
context:
space:
mode:
authorSumapriya <SS00493505@techmahindra.com>2018-03-28 12:28:38 +0530
committerRob Daugherty <rd472p@att.com>2018-03-28 18:02:17 +0000
commit920eac0c76cd1c7ce40ded73f341803cd62bbef5 (patch)
treef37d3c52c2844845c0a4d641650064fdadfb6a2b /mso-api-handlers/mso-api-handler-infra/src/test/java/org/openecomp/mso/apihandlerinfra/volumebeans/ObjectFactoryTest.java
parente098a363a3fd5444f77d7783e18dc00f768ca123 (diff)
Junit for apihandlerinfra.volumebeans
Junit for: 1.ObjectFactory.java 2.RequestInfo.java 3.VolumeInputs.java 4.VolumeOutputs.java 5.VolumeRequests.java 6.VolumeRequest.java Sonar Link: https://sonar.onap.org/code?id=org.onap.so%3Aso&selected=org.onap.so%3Amso-api-handler-infra%3Asrc%2Fmain%2Fjava%2Forg%2Fopenecomp%2Fmso%2Fapihandlerinfra%2Fvolumebeans Change-Id: Id2eea3ba913651d30bd8d5535c48d09dbea0d892 Issue-ID: SO-539 Signed-off-by: Sumapriya <SS00493505@techmahindra.com>
Diffstat (limited to 'mso-api-handlers/mso-api-handler-infra/src/test/java/org/openecomp/mso/apihandlerinfra/volumebeans/ObjectFactoryTest.java')
-rw-r--r--mso-api-handlers/mso-api-handler-infra/src/test/java/org/openecomp/mso/apihandlerinfra/volumebeans/ObjectFactoryTest.java38
1 files changed, 38 insertions, 0 deletions
diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/java/org/openecomp/mso/apihandlerinfra/volumebeans/ObjectFactoryTest.java b/mso-api-handlers/mso-api-handler-infra/src/test/java/org/openecomp/mso/apihandlerinfra/volumebeans/ObjectFactoryTest.java
new file mode 100644
index 0000000000..228fc2fa87
--- /dev/null
+++ b/mso-api-handlers/mso-api-handler-infra/src/test/java/org/openecomp/mso/apihandlerinfra/volumebeans/ObjectFactoryTest.java
@@ -0,0 +1,38 @@
+/*
+* ============LICENSE_START=======================================================
+* ONAP : SO
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* 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.openecomp.mso.apihandlerinfra.volumebeans;
+
+import static org.junit.Assert.*;
+
+import org.junit.Test;
+
+public class ObjectFactoryTest {
+ ObjectFactory of = new ObjectFactory();
+ Object o = new Object();
+ @Test
+ public void testObjectFactory() {
+ of.createRequestInfo();
+ of.createVolumeRequest();
+ of.createVolumeInputs();
+ of.createVolumeOutputs();
+ of.createVolumeRequests();
+ of.createVolumeParams(o);
+ }
+}