You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
568 B
PHP
25 lines
568 B
PHP
<?php
|
|
|
|
namespace Engelsystem\Test\Unit\Exceptions\Handlers;
|
|
|
|
use Engelsystem\Exceptions\Handlers\NullHandler;
|
|
use Engelsystem\Http\Request;
|
|
use ErrorException;
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
class NullHandlerTest extends TestCase
|
|
{
|
|
/**
|
|
* @covers \Engelsystem\Exceptions\Handlers\NullHandler::render
|
|
*/
|
|
public function testRender()
|
|
{
|
|
$handler = new NullHandler();
|
|
$request = new Request();
|
|
$exception = new ErrorException();
|
|
|
|
$this->expectOutputString('');
|
|
$handler->render($request, $exception);
|
|
}
|
|
}
|