我想知道如何验证"类"是否具有函数.assertClassHasAttribute不起作用,这是正常的,因为Function不是Attribute.
php phpunit assert function
assert ×1
function ×1
php ×1
phpunit ×1