match() public method

public match ( string $value ) : boolean
$value string
return boolean
 public function testCanMatchAgainstValues()
 {
     $regex = '/^d/';
     $value = new FixtureMatchReferenceValue($regex);
     $this->assertTrue($value->match('d'));
     $this->assertFalse($value->match('a'));
 }