diff options
Diffstat (limited to 'generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/PolicyUpdateNotifyOperationRPCTest.java')
-rw-r--r-- | generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/PolicyUpdateNotifyOperationRPCTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/PolicyUpdateNotifyOperationRPCTest.java b/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/PolicyUpdateNotifyOperationRPCTest.java index ff2a4351..3c6222f5 100644 --- a/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/PolicyUpdateNotifyOperationRPCTest.java +++ b/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/PolicyUpdateNotifyOperationRPCTest.java @@ -25,7 +25,7 @@ public class PolicyUpdateNotifyOperationRPCTest extends GenericResourceApiProvid @Test public void should_fail_when_invalid_vnf_topology() throws Exception { - PolicyUpdateNotifyOperationInput input = build(PolicyUpdateNotifyOperationInput()); + PolicyUpdateNotifyOperationInput input = PolicyUpdateNotifyOperationInput().build(); PolicyUpdateNotifyOperationOutput output = exec(genericResourceApiProvider::policyUpdateNotifyOperation, input, RpcResult::getResult); @@ -37,7 +37,7 @@ public class PolicyUpdateNotifyOperationRPCTest extends GenericResourceApiProvid @Test public void should_fail_when_valid_vnf_topology() throws Exception { - PolicyUpdateNotifyOperationInput input = build(PolicyUpdateNotifyOperationInput().setPolicyName("PolicyName").setUpdateType("UpdateType").setVersionId("vID")); + PolicyUpdateNotifyOperationInput input = PolicyUpdateNotifyOperationInput().setPolicyName("PolicyName").setUpdateType("UpdateType").setVersionId("vID").build(); PolicyUpdateNotifyOperationOutput output = exec(genericResourceApiProvider::policyUpdateNotifyOperation, input, RpcResult::getResult); |