@Test
public void testGetGlobalRpc() {

    testActor.tell(new RpcRegistry.Messages.AddOrUpdateRoutes(Lists.newArrayList(buckets)), ActorRef.noSender());
    final Set<String> globalRpc = mxBean.getGlobalRpc();
    assertNotNull(globalRpc);
    assertEquals(1, globalRpc.size());
    final String rpc = globalRpc.iterator().next();
    assertEquals(REMOTE_QNAME.toString(), rpc);
}