PHPWord/tests/PhpWord/Tests/Exception/ExceptionTest.php

33 lines
752 B
PHP
Raw Normal View History

<?php
2014-03-27 23:55:06 +07:00
/**
* 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-03-27 23:55:06 +07:00
*/
namespace PhpOffice\PhpWord\Tests\Exception;
use PhpOffice\PhpWord\Exception\Exception;
2014-03-27 23:55:06 +07:00
/**
* Test class for PhpOffice\PhpWord\Exception\Exception
2014-03-27 23:55:06 +07:00
*
* @coversDefaultClass \PhpOffice\PhpWord\Exception\Exception
2014-03-27 23:55:06 +07:00
* @runTestsInSeparateProcesses
*/
class ExceptionTest extends \PHPUnit_Framework_TestCase
{
/**
2014-03-30 14:15:23 +07:00
* Throw new exception
*
* @expectedException \PhpOffice\PhpWord\Exception\Exception
* @covers \PhpOffice\PhpWord\Exception\Exception
*/
public function testThrowException()
{
throw new Exception;
}
}