diff options
author | Marcus Williams <marcus.williams@intel.com> | 2017-10-13 16:21:35 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-10-13 16:21:35 +0000 |
commit | 860a5ab886772dda6ae610c4c6ff1373fd22c563 (patch) | |
tree | 1bf22701084cf52567f4dc1a32c49b768c19127f /generic-resource-api/provider/src/test | |
parent | cb54816c725dccd5bcaddbe7230d53483d201915 (diff) | |
parent | 03575373024593fd1cac6812f0992152edde4d37 (diff) |
Merge "Fix installation issues with generic-resource-api"
Diffstat (limited to 'generic-resource-api/provider/src/test')
-rw-r--r-- | generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/TestGenericResourceApi.java | 6 |
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(); |