1 code examples of PHP Elabftw\Services\Check::rw extracted from open source projects
public function testRw(): void
{
$this->assertEquals('read', Check::rw('read'));
$this->assertEquals('write', Check::rw('write'));
$this->expectException(IllegalActionException::class);
Check::rw('blah');
}