array_key_exists()
assertTrue()
assertNotTrue()
assertArrayHasKey()
有关详细信息,请参阅 assertArrayHasKey (phpunit.readthedocs.io)。