BUG-5685: Register BGP Peer Cluster Singleton Service
[bgpcep.git] / bgp / rib-impl / src / test / java / org / opendaylight / controller / config / yang / bgp / rib / impl / AbstractRIBImplModuleTest.java
index ac21e0280666152e23d29972a5aa826039114a40..46837f00be7173ed4e17efa68d269639983dbba6 100755 (executable)
@@ -285,7 +285,8 @@ public abstract class AbstractRIBImplModuleTest extends AbstractConfigTest {
         doReturn(new ProtocolBuilder().setKey(new ProtocolKey(BGP.class, "bgp"))
             .addAugmentation(Protocol1.class, new Protocol1Builder().setBgp(globalBgp).build()).build())
             .when(this.bgpMappingService).fromRib(any(), any(), any(), any(), any(), any());
-        doNothing().when(this.bgpDeployer).onGlobalCreated(any(),any(),any());
+        doNothing().when(this.bgpDeployer).onGlobalModified(any(),any(),any());
+        doNothing().when(this.bgpDeployer).onNeighborModified(any(),any(),any());
         doReturn(NEIGHBOR).when(this.bgpMappingService).fromBgpPeer(any(), any(),
                 any(), any(), any(), any(), any(), any(), any(), any(), any());
         doReturn(NEIGHBOR).when(this.bgpMappingService).fromApplicationPeer(any(), any());