for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Copyright (c) 2017 Ryan Parman <http://ryanparman.com>.
* Copyright (c) 2017 Contributors.
*
* http://opensource.org/licenses/Apache2.0
*/
declare(strict_types=1);
namespace SimplePie\Test\Unit\Exception;
use SimplePie\Exception\NotFoundException;
use SimplePie\Test\Unit\AbstractTestCase;
* @coversNothing
class NotFoundExceptionTest extends AbstractTestCase
{
public function testThrow(): void
$this->expectException(\SimplePie\Exception\NotFoundException::class);
$this->expectExceptionMessage('This is a test message.');
throw new NotFoundException('This is a test message.');
}