我正在使用 JUnit 5 库,并且尝试使用assertThrows并抛出异常以获取异常消息。我有这样的一段代码: import org.junit.jupiter.api.Assertions; //import org.junit.
確定! 回上一頁