for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the core-library package.
*
* (c) 2017 NdC/WBW
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace WBW\Library\Core\Tests\Exception\File;
use PHPUnit_Framework_TestCase;
use WBW\Library\Core\Exception\File\FileNotFoundException;
* File not found exception test.
* @author NdC/WBW <https://github.com/webeweb/>
* @package WBW\Library\Core\Tests\Exception\File
* @final
final class FileNotFoundExceptionTest extends PHPUnit_Framework_TestCase {
* Tests the __construct() method.
public function testConstruct() {
$ex = new FileNotFoundException("exception");
$res = "The file \"exception\" is not found";
$this->assertEquals($res, $ex->getMessage());
}