@Test
public void testGetLocalRegisteredRoutedRpc() {

    testActor.tell(new RpcRegistry.Messages.AddOrUpdateRoutes(Lists.newArrayList(buckets)), ActorRef.noSender());
    final Set<String> localRegisteredRoutedRpc = mxBean.getLocalRegisteredRoutedRpc();
    assertNotNull(localRegisteredRoutedRpc);
    assertEquals(1, localRegisteredRoutedRpc.size());
    final String localRpc = localRegisteredRoutedRpc.iterator().next();
    assertThat(localRpc, containsString(LOCAL_QNAME.toString()));
}