| 1 | <?php |
||
| 17 | class ExceptionControllerTest extends \PHPUnit_Framework_TestCase |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * System under test. |
||
| 21 | * |
||
| 22 | * @var ExceptionController |
||
| 23 | */ |
||
| 24 | private $controller; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @see PHPUnit_Framework_TestCase::setUp() |
||
| 28 | */ |
||
| 29 | protected function setUp() |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @see PHPUnit_Framework_TestCase::tearDown() |
||
| 37 | */ |
||
| 38 | protected function tearDown() |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Ensures that the ExceptionBundle's ExceptionController is a TwigBundle's ExceptionController. |
||
| 46 | */ |
||
| 47 | public function testSutIsATwigExceptionController() |
||
| 51 | |||
| 52 | /** |
||
| 53 | * Ensures that setDebug sets the otherwise immutable value of 'debug'. There is no getter to test a round trip. |
||
| 54 | */ |
||
| 55 | public function testSetDebugSetsValue() |
||
| 63 | } |
||
| 64 |