mirror of
https://github.com/filp/whoops.git
synced 2026-09-14 19:56:23 +00:00
21 lines
386 B
PHP
21 lines
386 B
PHP
<?php
|
|
/**
|
|
* Damnit - php errors for cool kids
|
|
* @author Filipe Dobreira <http://github.com/filp>
|
|
*/
|
|
|
|
namespace Damnit;
|
|
use Mockery as m;
|
|
|
|
class TestCase extends \PHPUnit_Framework_TestCase
|
|
{
|
|
/**
|
|
* @param string $message
|
|
* @return Exception
|
|
*/
|
|
protected function getException($message = null)
|
|
{
|
|
return m::mock('Exception', array($message));
|
|
}
|
|
}
|