Hm... I'd rather not repeat the entire error message here. Asserting something is thrown at all (or perhaps a simple regex like `/is deprecated/`) would suffice and cost less maintenance.