17 lines
378 B
PHP
17 lines
378 B
PHP
<?php
|
|
namespace PhpWord\Tests\Exceptions;
|
|
|
|
use PhpOffice\PhpWord\Exceptions\Exception;
|
|
|
|
class ExceptionTest extends \PHPUnit_Framework_TestCase
|
|
{
|
|
/**
|
|
* @expectedException \PhpOffice\PhpWord\Exceptions\Exception
|
|
* @covers \PhpOffice\PhpWord\Exceptions\Exception
|
|
*/
|
|
public function testThrowException()
|
|
{
|
|
throw new Exception;
|
|
}
|
|
}
|