Add method comment.

This commit is contained in:
luke
2021-12-08 09:01:16 +00:00
parent d969eaac2c
commit e1a30e3c92

View File

@ -160,6 +160,9 @@ final class TestCall
return $this;
}
/**
* Informs the test runner that no expectations happen in this test.
*/
public function hasNoExpectations(): TestCall
{
$this->testCaseMethod->proxies->add(Backtrace::file(), Backtrace::line(), 'expectNotToPerformAssertions', []);