public function testProcess() { $t = new \Test\RegexDNA(); ob_start(); $t->process(__DIR__ . '/regexdna-input.txt'); $content = ob_get_clean(); $this->assertSame($content, file_get_contents(__DIR__ . '/regexdna-output.txt')); }