def METHOD_NAME(tarinfo):
    self.assertTrue(tarinfo.islnk())
    self.assertFalse(tarinfo.issym())
    self.assertThat(file_to_link, Equals(tarinfo.name))
    self.assertThat(file_to_tar, Equals(tarinfo.linkname))
    return tarinfo