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%2Futil%2FGenericResourceApiSvcLogicServiceClientMockUtil.java;fp=generic-resource-api%2Fprovider%2Fsrc%2Ftest%2Fjava%2Forg%2Fonap%2Fsdnc%2Fnorthbound%2Futil%2FGenericResourceApiSvcLogicServiceClientMockUtil.java;h=51eaa1fd0bb5fe187f19982490b192ee89fb0a92;hp=b0cd627e15a4d3a6c60cbc3d3fcad1babf8b42a9;hb=219b28ed3c3ee23f10d67c9c50583a8bd5a84f3a;hpb=2b1dc5b10650ed62f71d4b84ef662b59ed663fc1 diff --git a/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/util/GenericResourceApiSvcLogicServiceClientMockUtil.java b/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/util/GenericResourceApiSvcLogicServiceClientMockUtil.java index b0cd627e..51eaa1fd 100644 --- a/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/util/GenericResourceApiSvcLogicServiceClientMockUtil.java +++ b/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/util/GenericResourceApiSvcLogicServiceClientMockUtil.java @@ -24,7 +24,6 @@ package org.onap.sdnc.northbound.util; import static org.mockito.Mockito.eq; import static org.mockito.Mockito.isA; import static org.mockito.Mockito.when; -import static org.onap.sdnc.northbound.util.MDSALUtil.build; import static org.onap.sdnc.northbound.util.PropBuilder.propBuilder; import java.util.Properties; @@ -121,7 +120,7 @@ public class GenericResourceApiSvcLogicServiceClientMockUtil { eq(MODE), isA(ServiceDataBuilder.class), isA(Properties.class)) - ).thenReturn(build(svcResultProp)); + ).thenReturn(svcResultProp.build()); } public void mockExecute(RuntimeException exception) throws Exception { @@ -148,7 +147,7 @@ public class GenericResourceApiSvcLogicServiceClientMockUtil { eq(VERSION), eq(MODE), isA(Properties.class)) - ).thenReturn(build(svcResultProp)); + ).thenReturn(svcResultProp.build()); } public void mockExecuteWoServiceData(RuntimeException exception) throws Exception {