/** * !include File.php. */ public function testFile() { $expected = file_get_contents($this->ctx->getWorkingDirectory() . '/Calc.php'); $actual = $this->cmd->execute(new CommandParams('Calc.php'), $this->ctx); $this->assertSourceCode($expected, $actual); }