Closed krzysztofrewak closed 3 years ago
PHPUnit assertion helper would be useful. Right now I'm using static assertions like this:
\PHPUnit\Framework\Assert::assertEquals($count, $service->getCount());
I would love to use some magic methods (especially __call()) to remap PHPUnit assertions into our contexts. We could use them as in Laravel PHPUnit tests:
__call()
$this->assertEquals($count, $service->getCount());
PHPUnit assertion helper would be useful. Right now I'm using static assertions like this:
I would love to use some magic methods (especially
__call()
) to remap PHPUnit assertions into our contexts. We could use them as in Laravel PHPUnit tests: