报告 PHPUnit 测试中可以替换为 assertEmpty/assertNotEmptyassertTrue/assertFalse 的用法。

有关详细信息,请参阅 assertEmpty (phpunit.readthedocs.io)