PHPWord/tests/PhpWord/Tests/Exceptions/InvalidImageExceptionTest.php

33 lines
849 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
* @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
*/
namespace PhpOffice\PhpWord\Tests\Exceptions;
use PhpOffice\PhpWord\Exceptions\InvalidImageException;
2014-03-27 23:55:06 +07:00
/**
* Test class for PhpOffice\PhpWord\Exceptions\InvalidImageException
*
* @coversDefaultClass \PhpOffice\PhpWord\Exceptions\InvalidImageException
* @runTestsInSeparateProcesses
*/
class InvalidImageExceptionTest extends \PHPUnit_Framework_TestCase
{
/**
2014-03-30 14:15:23 +07:00
* Throw new exception
*
* @expectedException \PhpOffice\PhpWord\Exceptions\InvalidImageException
* @covers \PhpOffice\PhpWord\Exceptions\InvalidImageException
*/
public function testThrowException()
{
throw new InvalidImageException;
}
}