X-Git-Url: https://gerrit.onap.org/r/gitweb?p=sdnc%2Fnorthbound.git;a=blobdiff_plain;f=generic-resource-api%2Fprovider%2Fsrc%2Ftest%2Fjava%2Forg%2Fonap%2Fsdnc%2Fnorthbound%2FPolicyUpdateNotifyOperationRPCTest.java;fp=generic-resource-api%2Fprovider%2Fsrc%2Ftest%2Fjava%2Forg%2Fonap%2Fsdnc%2Fnorthbound%2FPolicyUpdateNotifyOperationRPCTest.java;h=3c6222f54ddbef757fd7134735e0b06cca2a419d;hp=ff2a4351a1783e688262b8ec230b929f704bf8ad;hb=219b28ed3c3ee23f10d67c9c50583a8bd5a84f3a;hpb=2b1dc5b10650ed62f71d4b84ef662b59ed663fc1 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);