summaryrefslogtreecommitdiffstats
path: root/generic-resource-api/provider/src/test/java
diff options
context:
space:
mode:
Diffstat (limited to 'generic-resource-api/provider/src/test/java')
-rw-r--r--generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/TestGenericResourceApi.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/TestGenericResourceApi.java b/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/TestGenericResourceApi.java
index dd1523d0..939ada80 100644
--- a/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/TestGenericResourceApi.java
+++ b/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/TestGenericResourceApi.java
@@ -57,9 +57,9 @@ public class TestGenericResourceApi extends AbstractConcurrentDataBrokerTest {
DataBroker dataBroker = getDataBroker();
NotificationPublishService mockNotification = mock(NotificationPublishService.class);
RpcProviderRegistry mockRpcRegistry = mock(RpcProviderRegistry.class);
-
+ GenericResourceApiSvcLogicServiceClient client = mock(GenericResourceApiSvcLogicServiceClient.class);
try {
- genericResourceApiProvider = new GenericResourceApiProvider(dataBroker, mockNotification, mockRpcRegistry);
+ genericResourceApiProvider = new GenericResourceApiProvider(dataBroker, mockNotification, mockRpcRegistry, client);
} catch (Exception e) {
LOG.error("Caught exception on setUp", e);
throw e;
@@ -67,7 +67,7 @@ public class TestGenericResourceApi extends AbstractConcurrentDataBrokerTest {
}
}
- @Test(expected = NullPointerException.class)
+ @Test
public void testServiceTopologyOperation() {
ServiceTopologyOperationInputBuilder inputBuilder = new ServiceTopologyOperationInputBuilder();