NPO question

How do you recog a donation under someone's will? NPO won't get the revenue until the donor pass away. I think I've seen it before but I can't find it. Please help! Thanks