Is it good practice to check exception messages in unit tests? [duplicate]

📝

内容提要

Imagine I have a function like this (written in Java): void sayHello(String firstName, String lastName) { if (firstName == null) { throw new IllegalArgumentException("first name is...

➡️

继续阅读