aboutsummaryrefslogtreecommitdiffstats
path: root/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/GetpathsegmentTopologyOperationRPCTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/GetpathsegmentTopologyOperationRPCTest.java')
-rw-r--r--generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/GetpathsegmentTopologyOperationRPCTest.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/GetpathsegmentTopologyOperationRPCTest.java b/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/GetpathsegmentTopologyOperationRPCTest.java
index 06da74c6..f2a92c04 100644
--- a/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/GetpathsegmentTopologyOperationRPCTest.java
+++ b/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/GetpathsegmentTopologyOperationRPCTest.java
@@ -27,7 +27,7 @@ public class GetpathsegmentTopologyOperationRPCTest extends GenericResourceApiPr
@Test
public void should_fail_when_invalid_vnf_topology() throws Exception {
- GetpathsegmentTopologyOperationInput input = build(GetpathsegmentTopologyOperationInput());
+ GetpathsegmentTopologyOperationInput input = GetpathsegmentTopologyOperationInput().build();
GetpathsegmentTopologyOperationOutput output =
exec(genericResourceApiProvider::getpathsegmentTopologyOperation, input, RpcResult::getResult);
@@ -40,8 +40,8 @@ public class GetpathsegmentTopologyOperationRPCTest extends GenericResourceApiPr
@Test
public void should_fail_when_valid_vnf_topology() throws Exception {
- GetpathsegmentTopologyOperationInput input = build(GetpathsegmentTopologyOperationInput()
- .setServiceInformation(new ServiceInformationBuilder().setServiceInstanceId("ServiceInstanceID").build()));
+ GetpathsegmentTopologyOperationInput input = GetpathsegmentTopologyOperationInput()
+ .setServiceInformation(new ServiceInformationBuilder().setServiceInstanceId("ServiceInstanceID").build()).build();
GetpathsegmentTopologyOperationOutput output =
exec(genericResourceApiProvider::getpathsegmentTopologyOperation, input, RpcResult::getResult);
@@ -54,9 +54,9 @@ public class GetpathsegmentTopologyOperationRPCTest extends GenericResourceApiPr
@Test
public void should_fail_when_valid_serice_excep_vnf_topology() throws Exception {
- GetpathsegmentTopologyOperationInput input = build(GetpathsegmentTopologyOperationInput()
+ GetpathsegmentTopologyOperationInput input = GetpathsegmentTopologyOperationInput()
.setServiceInformation(new ServiceInformationBuilder().setServiceInstanceId("ServiceInstanceID")
- .setOnapModelInformation(new OnapModelInformationBuilder().setModelUuid("moduleUUID").build()).build()));
+ .setOnapModelInformation(new OnapModelInformationBuilder().setModelUuid("moduleUUID").build()).build()).build();
GetpathsegmentTopologyOperationOutput output =
exec(genericResourceApiProvider::getpathsegmentTopologyOperation, input, RpcResult::getResult);