BUG-6647 Increase code coverage and clean up II
[bgpcep.git] / bgp / rib-impl / src / test / java / org / opendaylight / controller / config / yang / bgp / rib / impl / BGPPeerModuleTest.java
index 2b5f9b997fc794711855f0d7058022a2309b8628..0b82eb12e5ef3e66c1ba9a6a3ea39972b9603b03 100755 (executable)
@@ -173,13 +173,6 @@ public class BGPPeerModuleTest extends AbstractRIBImplModuleTest {
         return transaction.createModule(StrictBgpPeerRegistryModuleFactory.NAME, "peer-registry");
     }
 
-    private static BGPDispatcherImplModuleMXBean getBgpDispatcherImplModuleMXBean(final ConfigTransactionJMXClient transaction,
-            final BGPPeerModuleMXBean mxBean) {
-        final RIBImplModuleMXBean ribProxy = transaction.newMXBeanProxy(mxBean.getRib(), RIBImplModuleMXBean.class);
-        final ObjectName dispatcherON = ribProxy.getBgpDispatcher();
-        return transaction.newMXBeanProxy(dispatcherON, BGPDispatcherImplModuleMXBean.class);
-    }
-
     private CommitStatus createBgpPeerInstance() throws Exception {
         return createBgpPeerInstance(false);
     }