@Test
public void testFindRpcByName() {

    testActor.tell(new RpcRegistry.Messages.AddOrUpdateRoutes(Lists.newArrayList(buckets)), ActorRef.noSender());
    final Map<String, String> rpcByName = mxBean.findRpcByName("");
    assertNotNull(rpcByName);
    assertEquals(1, rpcByName.size());
    assertTrue(rpcByName.containsValue(LOCAL_QNAME.getLocalName()));
}