Completed
Push — develop ( 48a3ec...fa4cb4 )
by Mike
05:54
created

PreParsingEventTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testSettingAndGettingTheFileCount() 0 7 1
1
<?php declare(strict_types=1);
2
3
namespace phpDocumentor\Parser\Event;
4
5
use PHPUnit\Framework\TestCase;
6
7
/**
8
 * @coversDefaultClass \phpDocumentor\Parser\Event\PreParsingEvent
9
 * @covers ::__construct
10
 * @covers ::<private>
11
 */
12
final class PreParsingEventTest extends TestCase
13
{
14
    /**
15
     * @covers ::setFileCount
16
     * @covers ::getFileCount
17
     */
18
    public function testSettingAndGettingTheFileCount()
19
    {
20
        $event = new PreParsingEvent(new \stdClass());
21
        $event->setFileCount(42);
22
23
        $this->assertSame(42, $event->getFileCount());
24
    }
25
}
26