 aed27a0bed
			
		
	
	
		aed27a0bed
		
	
	
	
	
		
			
			Use the `PHPUnit\Framework\TestCase` notation instead of `PHPUnit_Framework_TestCase` while extending our TestCases. This will help us migrate to PHPUnit 6, that [no longer support snake case class names](https://github.com/sebastianbergmann/phpunit/blob/master/ChangeLog-6.0.md#changed-1).
		
			
				
	
	
		
			31 lines
		
	
	
		
			728 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			728 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::assertTrue($result instanceof Layout);
 | |
|     }
 | |
| 
 | |
|     public function testGetLayoutTarget()
 | |
|     {
 | |
|         $LayoutTargetValue = 'String';
 | |
| 
 | |
|         $testInstance = new Layout();
 | |
|         $testInstance->setLayoutTarget($LayoutTargetValue);
 | |
| 
 | |
|         $result = $testInstance->getLayoutTarget();
 | |
|         self::assertEquals($LayoutTargetValue, $result);
 | |
|     }
 | |
| }
 |