@Test
public void testRouteS1toRegsvrFromS1() {

    IDataRouter router = buildTestableRouter(
            MULTIPLE_GROUPS_PLUS_REG_SVR_NETWORKED_ROOT.findNetworkedNode("s1").getNode(), MULTIPLE_GROUPS_PLUS_REG_SVR_LINKS,
            MULTIPLE_GROUPS_PLUS_REG_SVR_NETWORKED_ROOT);
    Set<Node> nodes = new HashSet<Node>();
    nodes.add(MULTIPLE_GROUPS_PLUS_REG_SVR_NETWORKED_ROOT.findNetworkedNode("s1").getNode());
    nodes.add(MULTIPLE_GROUPS_PLUS_REG_SVR_NETWORKED_ROOT.findNetworkedNode("dw").getNode());
    nodes.add(MULTIPLE_GROUPS_PLUS_REG_SVR_NETWORKED_ROOT.findNetworkedNode("regsvr").getNode());
    Collection<String> nodeIds = router.routeToNodes(new SimpleRouterContext(), buildDataMetaData("SYM_NODE", "s1"), nodes, false, false, null);
    assertNotNull(nodeIds);
    assertEquals(1, nodeIds.size());
    assertTrue(nodeIds.contains("regsvr"));
}