`unit.ThrowsA()` accepts both a function or a closure. Seems like this is n/a after your updates.