2014-03-15 09:27:48 -04:00
|
|
|
<?php
|
2014-03-20 16:54:12 +04:00
|
|
|
namespace PhpWord\Tests\Exceptions;
|
2014-03-15 09:27:48 -04:00
|
|
|
|
|
|
|
|
use PhpOffice\PhpWord\Exceptions\Exception;
|
|
|
|
|
|
|
|
|
|
class ExceptionTest extends \PHPUnit_Framework_TestCase
|
|
|
|
|
{
|
|
|
|
|
/**
|
2014-03-18 17:26:03 +04:00
|
|
|
* @expectedException PhpOffice\PhpWord\Exceptions\Exception
|
|
|
|
|
* @covers PhpOffice\PhpWord\Exceptions\Exception
|
2014-03-15 09:27:48 -04:00
|
|
|
*/
|
|
|
|
|
public function testThrowException()
|
|
|
|
|
{
|
|
|
|
|
throw new Exception;
|
|
|
|
|
}
|
|
|
|
|
}
|