33 lines
814 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
2014-05-04 21:03:28 +04:00
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
2014-04-17 03:47:43 +07:00
*/
namespace PhpOffice\PhpWord\Tests\Writer\Part\ODText;
2014-04-17 03:47:43 +07:00
use PhpOffice\PhpWord\Writer\ODText\Part\Styles;
2014-04-17 03:47:43 +07:00
/**
* Test class for PhpOffice\PhpWord\Writer\ODText\Part\Styles
2014-04-17 03:47:43 +07:00
*
* @coversDefaultClass \PhpOffice\PhpWord\Writer\ODText\Part\Styles
2014-04-17 03:47:43 +07:00
* @runTestsInSeparateProcesses
*/
class StylesTest extends \PHPUnit_Framework_TestCase
{
/**
* Test construct with no PhpWord
*
* @expectedException \PhpOffice\PhpWord\Exception\Exception
* @expectedExceptionMessage No PhpWord assigned.
*/
public function testConstructNoPhpWord()
{
$object = new Styles();
$object->writeStyles();
}
}