mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-10 01:56:26 +00:00
20 lines
471 B
PHP
20 lines
471 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace PhpOffice\PhpSpreadsheetTests\Shared;
|
|
|
|
use PhpOffice\PhpSpreadsheet\Shared\Escher\DgContainer\SpgrContainer;
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
class SpgrContainerTest extends TestCase
|
|
{
|
|
public function testParent(): void
|
|
{
|
|
$container = new SpgrContainer();
|
|
$contained = new SpgrContainer();
|
|
$contained->setParent($container);
|
|
self::assertSame($container, $contained->getParent());
|
|
}
|
|
}
|