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

testSettingAndGettingTheFileCount()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 7
rs 10
c 0
b 0
f 0
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