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