Forensic Medicine

Testementary capacity refers to -