@Test
public void testFindRpcByRoute() {

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