/** * testAssignsFormatArgumentCorrectWhenCalledWithInputFile * * @return void * @since 1.1.0 */ public function testAssignsFormatArgumentCorrectWhenCalledWithInputFile() { $uri = self::createResourceUriForTest('inputfile.txt'); $args = array('foo.php', 'text', 'design', '--inputfile', $uri); $opts = new CommandLineOptions($args); self::assertEquals('text', $opts->getReportFormat()); }