--- /dev/null
+/**
+ * Copyright (C) 2020 Huawei, Inc. and others. All rights reserved.
+ *
+ * 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.
+ */
+package org.onap.usecaseui.server.bean.lcm.sotne2eservice;
+
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+
+import static org.mockito.Matchers.any;
+import static org.mockito.Matchers.anyObject;
+
+public class E2EServiceInstanceRequestTest {
+ @Before
+ public void before() throws Exception {
+ }
+
+ @After
+ public void after() throws Exception {
+ }
+ @Test
+ public void testGetE2EServiceInstanceRequest() throws Exception{
+ E2EServiceInstanceRequest e2esir = new E2EServiceInstanceRequest();
+ e2esir.getAdditionalProperties();
+ e2esir.getService();
+
+ }
+ @Test
+ public void testSetE2EServiceInstanceRequest() throws Exception{
+ E2EServiceInstanceRequest e2esir = new E2EServiceInstanceRequest();
+ e2esir.setAdditionalProperty("",anyObject());
+ e2esir.setAdditionalProperties(null);
+ e2esir.setService(any());
+ }
+}
--- /dev/null
+/**
+ * Copyright (C) 2020 Huawei, Inc. and others. All rights reserved.
+ *
+ * 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.
+ */
+package org.onap.usecaseui.server.bean.lcm.sotne2eservice;
+
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+
+public class EdgeTest {
+ @Before
+ public void before() throws Exception {
+ }
+
+ @After
+ public void after() throws Exception {
+ }
+ @Test
+ public void testGetEdge() throws Exception{
+ Edge edge = new Edge();
+ edge.getFrom();
+ edge.getTo();
+ }
+ @Test
+ public void testSetEdge() throws Exception{
+ Edge edge = new Edge();
+ edge.setFrom("");
+ edge.setTo("");
+ }
+}
--- /dev/null
+/**
+ * Copyright (C) 2020 Huawei, Inc. and others. All rights reserved.
+ *
+ * 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.
+ */
+
+package org.onap.usecaseui.server.bean.lcm.sotne2eservice;
+
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+
+public class FileBeanTest {
+ @Before
+ public void before() throws Exception {
+ }
+
+ @After
+ public void after() throws Exception {
+ }
+ @Test
+ public void testGetFileBean() throws Exception{
+ FileBean fb = new FileBean();
+ fb.getFileName();
+ }
+ @Test
+ public void testSetFileBean() throws Exception{
+ FileBean fb = new FileBean();
+ fb.setFileName("");
+ }
+
+}
--- /dev/null
+/**
+ * Copyright (C) 2020 Huawei, Inc. and others. All rights reserved.
+ *
+ * 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.
+ */
+
+package org.onap.usecaseui.server.bean.lcm.sotne2eservice;
+
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+
+import static org.mockito.Matchers.any;
+
+public class FileWrapperTest {
+ @Before
+ public void before() throws Exception {
+ }
+
+ @After
+ public void after() throws Exception {
+ }
+ @Test
+ public void testGetFileWrapper() throws Exception{
+ FileWrapper fw = new FileWrapper();
+ fw.getFile();
+ }
+ @Test
+ public void testSetFileWrapper() throws Exception{
+ FileWrapper fw = new FileWrapper();
+ fw.setFile(any());
+ }
+
+}
--- /dev/null
+/**
+ * Copyright (C) 2020 Huawei, Inc. and others. All rights reserved.
+ *
+ * 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.
+ */
+
+package org.onap.usecaseui.server.bean.lcm.sotne2eservice;
+
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+
+import static org.mockito.Matchers.any;
+import static org.mockito.Matchers.anyObject;
+
+public class LogicalLinkTest {
+ @Before
+ public void before() throws Exception {
+ }
+
+ @After
+ public void after() throws Exception {
+ }
+ @Test
+ public void testGetlogicalLink() throws Exception{
+ LogicalLink Ll = new LogicalLink();
+ Ll.getAdditionalProperties();
+ Ll.getInMaint();
+ Ll.getLinkName();
+ Ll.getLinkType();
+ Ll.getOperationalStatus();
+ Ll.getRelationshipList();
+ Ll.getResourceVersion();
+ }
+ @Test
+ public void testSetlogicalLink() throws Exception{
+ LogicalLink Ll = new LogicalLink();
+ Ll.setAdditionalProperty("", anyObject());
+ Ll.setInMaint(true);
+ Ll.setLinkName("");
+ Ll.setLinkType("");
+ Ll.setOperationalStatus("");
+ Ll.setResourceVersion("");
+ Ll.setRelationshipList(any());
+ }
+
+}