Code Duplication    Length = 7-7 lines in 2 locations

tests/php/PHPMD/TextUI/CommandLineOptionsTest.php 2 locations

@@ 311-317 (lines=7) @@
308
    /**
309
     * @return void
310
     */
311
    public function testGetMinimumPriorityReturnsLowestValueByDefault()
312
    {
313
        $args = array(__FILE__, __FILE__, 'text', 'codesize');
314
        $opts = new CommandLineOptions($args);
315
316
        $this->assertEquals(Rule::LOWEST_PRIORITY, $opts->getMinimumPriority());
317
    }
318
319
    /**
320
     * @return void
@@ 445-451 (lines=7) @@
442
     * @return void
443
     * @dataProvider dataProviderGetReportFiles
444
     */
445
    public function testGetReportFiles(array $options, array $expected)
446
    {
447
        $args = array_merge(array(__FILE__, __FILE__, 'text', 'codesize'), $options);
448
        $opts = new CommandLineOptions($args);
449
450
        $this->assertEquals($expected, $opts->getReportFiles());
451
    }
452
453
    public function dataProviderGetReportFiles()
454
    {