public function testRead() { $executor = new Executor(); $this->assertSame('foo' . PHP_EOL . 'bar', $executor->read('echo foo && echo bar')); }