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