X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=nbinotifications%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Ftransportpce%2Fnbinotifications%2Fimpl%2FNbiNotificationsProviderTest.java;h=2b37bb5a31d0985a3cc6f0f84329fc56c1ecfde9;hb=8be42823a12d414dfa491305f4912bb642b6d5e2;hp=68a93c3289bf0fda9a19a061db25a9e6d06a9ebe;hpb=37a539ad2c5ad1006cd0203de63d80350c32b72e;p=transportpce.git diff --git a/nbinotifications/src/test/java/org/opendaylight/transportpce/nbinotifications/impl/NbiNotificationsProviderTest.java b/nbinotifications/src/test/java/org/opendaylight/transportpce/nbinotifications/impl/NbiNotificationsProviderTest.java index 68a93c328..2b37bb5a3 100644 --- a/nbinotifications/src/test/java/org/opendaylight/transportpce/nbinotifications/impl/NbiNotificationsProviderTest.java +++ b/nbinotifications/src/test/java/org/opendaylight/transportpce/nbinotifications/impl/NbiNotificationsProviderTest.java @@ -38,11 +38,10 @@ public class NbiNotificationsProviderTest extends AbstractTest { @Test void initTest() { networkTransactionService = new NetworkTransactionImpl(getDataBroker()); - NbiNotificationsProvider provider = new NbiNotificationsProvider("localhost:8080", "localhost:8080", + new NbiNotificationsProvider("localhost:8080", "localhost:8080", rpcProviderRegistry, notificationService, getDataStoreContextUtil().getBindingDOMCodecServices(), networkTransactionService); - verify(rpcProviderRegistry, times(2)) - .registerRpcImplementation(any(), any(NbiNotificationsImpl.class)); + verify(rpcProviderRegistry, times(1)).registerRpcImplementations(any()); verify(notificationService, times(1)) .registerNotificationListener(any(NbiNotificationsListenerImpl.class)); }