Closed krzysztofrewak closed 3 years ago
Adding a Testing trait to the context, we can use PHPUnit assertions as they would be context's methods:
Testing
class SomeContext implements Context { use Testing; public function test(): void { $this->assertTrue(2 > 1); } }
It should close #11.
Adding a
Testing
trait to the context, we can use PHPUnit assertions as they would be context's methods:It should close #11.