报告 PHPUnit 测试中可以替换为
assertEmpty
/
assertNotEmpty
的
assertTrue
/
assertFalse
的用法。
有关详细信息,请参阅
assertEmpty (phpunit.readthedocs.io)
。