Tests _contextual_links_to_id().
function testContextualLinksToId() {
$tests = $this
->_contextual_links_id_testcases();
foreach ($tests as $test) {
$this
->assertIdentical(_contextual_links_to_id($test['links']), $test['id']);
}
}