Completed
Push — master ( ce5d9a...b8256c )
by Jaap
08:59
created

FindOnSamplePhpdocLayoutTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 14
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A testFindingOnSamplePhpdocLayout() 0 11 1
1
<?php
2
3
declare(strict_types=1);
4
5
/**
6
 * This file is part of phpDocumentor.
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 *
11
 * @link      http://phpdoc.org
12
 */
13
14
namespace Flyfinder;
15
16
use PHPUnit\Framework\TestCase;
17
18
/**
19
 * Integration test against examples/03-sample-phpdoc-layout.php
20
 *
21
 * @coversNothing
22
 */
23
class FindOnSamplePhpdocLayoutTest extends TestCase
24
{
25
    public function testFindingOnSamplePhpdocLayout() : void
26
    {
27
        $result = [];
28
        include __DIR__ . '/../../examples/03-sample-phpdoc-layout.php';
29
30
        $this->assertCount(4, $result);
31
        $this->assertSame('JmsSerializerServiceProvider.php', $result[0]['basename']);
32
        $this->assertSame('MonologServiceProvider.php', $result[1]['basename']);
33
        $this->assertSame('Application.php', $result[2]['basename']);
34
        $this->assertSame('Bootstrap.php', $result[3]['basename']);
35
    }
36
}
37