@Test
public void testRouteHeartbeatToParent() {

    IDataRouter router = buildTestableRouter(
            THREE_TIER_NETWORKED_ROOT.findNetworkedNode("laptop1").getNode(), THREE_TIER_LINKS,
            THREE_TIER_NETWORKED_ROOT);
    Set<Node> nodes = new HashSet<Node>();
    nodes.add(THREE_TIER_NETWORKED_ROOT.findNetworkedNode("rgn1").getNode());
    Collection<String> nodeIds = router.routeToNodes(new SimpleRouterContext(), buildDataMetaData("SYM_NODE", "laptop1"), nodes, false, false, null);
    assertNotNull(nodeIds);
    assertEquals(1, nodeIds.size());
    assertEquals("rgn1", nodeIds.iterator().next());
}