def METHOD_NAME(self):
    update_map(self.map1)
    added_links = self.session.query(TopoMapAssociation). \
        filter(TopoMapAssociation.topo_map_id == self.map1.document_id). \
        all()
    self.assertEqual(len(added_links), 1)
    self.assertEqual(
        added_links[0].document_id, self.waypoint1.document_id)