Test Failed
Pull Request — master (#461)
by
unknown
03:28
created

testGetFirstFontWhenNoFontAvailable()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 5
rs 10
1
<?php
2
declare(strict_types=1);
3
4
namespace Tests\Smalot\PdfParser\Unit;
5
6
use Smalot\PdfParser\Document;
7
use Tests\Smalot\PdfParser\TestCase;
8
9
class DocumentTest extends TestCase
10
{
11
    public function testGetFirstFontWhenNoFontAvailable(): void
12
    {
13
        $document = new Document();
14
15
        $this->assertNull($document->getFirstFont());
16
    }
17
}
18