@Test
public void testGetLocalRegisteredRoutedAction() {

    testActor.tell(new ActionRegistry.Messages.UpdateActions(Lists.newArrayList(buckets),
            Collections.emptyList()), ActorRef.noSender());
    final Set<String> localRegisteredRoutedAction = mxBean.getLocalRegisteredAction();
    Assert.assertNotNull(localRegisteredRoutedAction);
    Assert.assertEquals(1, localRegisteredRoutedAction.size());
    final String localAction = localRegisteredRoutedAction.iterator().next();
    Assert.assertTrue(localAction.contains(LOCAL_QNAME.toString()));
    Assert.assertTrue(localAction.contains(LOCAL_SCHEMA_PATH.toString()));
}