33 lines
792 B
PHP
Raw Normal View History

2014-04-17 03:47:43 +07:00
<?php
/**
* PHPWord
*
* @link https://github.com/PHPOffice/PHPWord
* @copyright 2014 PHPWord
* @license http://www.gnu.org/licenses/lgpl.txt LGPL
2014-04-17 03:47:43 +07:00
*/
namespace PhpOffice\PhpWord\Tests\Writer\ODText\Part;
2014-04-17 03:47:43 +07:00
use PhpOffice\PhpWord\Writer\ODText\Part\Meta;
2014-04-17 03:47:43 +07:00
/**
* Test class for PhpOffice\PhpWord\Writer\ODText\Part\Meta
2014-04-17 03:47:43 +07:00
*
* @coversDefaultClass \PhpOffice\PhpWord\Writer\ODText\Part\Meta
2014-04-17 03:47:43 +07:00
* @runTestsInSeparateProcesses
*/
class MetaTest extends \PHPUnit_Framework_TestCase
{
/**
* Test construct with no PhpWord
*
* @expectedException \PhpOffice\PhpWord\Exception\Exception
* @expectedExceptionMessage No PhpWord assigned.
*/
public function testConstructNoPhpWord()
{
$object = new Meta();
$object->writeMeta();
}
}