public testProcessorProcess ( string $text, string $result ) | ||
$text | string | |
$result | string |
public function testProcessorProcess($text, $result)
{
$processor = new Processor(new RegexParser(), $this->getHandlers());
$this->assertSame($result, $processor->process($text));
}