With PHPUnit I can successfully test if a specific call to a class properly throws an exception like this: if a speci 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交