Failed Conditions
Push — master ( c677a2...0c37ae )
by
unknown
11:01 queued 14s
created

DggContainerTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 5
c 1
b 0
f 0
dl 0
loc 8
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A testBseParent() 0 6 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace PhpOffice\PhpSpreadsheetTests\Shared;
6
7
use PhpOffice\PhpSpreadsheet\Shared\Escher\DggContainer;
8
use PHPUnit\Framework\TestCase;
9
10
class DggContainerTest extends TestCase
11
{
12
    public function testBseParent(): void
13
    {
14
        $container = new DggContainer\BstoreContainer();
15
        $bse = new DggContainer\BstoreContainer\BSE();
16
        $bse->setParent($container);
17
        self::assertSame($container, $bse->getParent());
18
    }
19
}
20