PHPWord/tests/PhpWord/Tests/Reader/ODTextTest.php

32 lines
727 B
PHP
Raw Normal View History

2014-04-29 01:18:01 +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-29 01:18:01 +07:00
*/
namespace PhpOffice\PhpWord\Tests\Reader;
use PhpOffice\PhpWord\IOFactory;
/**
* Test class for PhpOffice\PhpWord\Reader\ODText
*
* @coversDefaultClass \PhpOffice\PhpWord\Reader\ODText
* @runTestsInSeparateProcesses
*/
class ODTextTest extends \PHPUnit_Framework_TestCase
{
/**
* Load
*/
public function testLoad()
{
$filename = __DIR__ . '/../_files/documents/reader.odt';
$object = IOFactory::load($filename, 'ODText');
$this->assertInstanceOf('PhpOffice\\PhpWord\\PhpWord', $object);
}
}