sagacity/inc/vendor/phpoffice/phpspreadsheet/tests/PhpSpreadsheetTests/Chart/LayoutTest.php
Ryan Prather d52454d1bb Updates to 3rd party libraries
Add Dockerfile and specific docker-php.ini
2018-08-28 21:27:13 -04:00

31 lines
731 B
PHP

<?php
namespace PhpOffice\PhpSpreadsheetTests\Chart;
use PhpOffice\PhpSpreadsheet\Chart\Layout;
use PHPUnit\Framework\TestCase;
class LayoutTest extends TestCase
{
public function testSetLayoutTarget()
{
$LayoutTargetValue = 'String';
$testInstance = new Layout();
$result = $testInstance->setLayoutTarget($LayoutTargetValue);
self::assertInstanceOf(Layout::class, $result);
}
public function testGetLayoutTarget()
{
$LayoutTargetValue = 'String';
$testInstance = new Layout();
$testInstance->setLayoutTarget($LayoutTargetValue);
$result = $testInstance->getLayoutTarget();
self::assertEquals($LayoutTargetValue, $result);
}
}