setLayoutTarget($LayoutTargetValue); $this->assertTrue($result instanceof PHPExcel_Chart_Layout); } public function testGetLayoutTarget() { $LayoutTargetValue = 'String'; $testInstance = new PHPExcel_Chart_Layout; $setValue = $testInstance->setLayoutTarget($LayoutTargetValue); $result = $testInstance->getLayoutTarget(); $this->assertEquals($LayoutTargetValue, $result); } }