各个断言方法均声明为 static ,可以从任何上下文以类似于 PHPUnit\Framework\Assert::assertTrue() 的方式调用,或者也可以用类似于 $this->assertTrue() 或 ...
確定! 回上一頁