| 1 | <?php |
||
| 16 | class ManagerTest extends \PHPUnit_Framework_TestCase |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var TemplateManager |
||
| 20 | */ |
||
| 21 | protected $manager; |
||
| 22 | |||
| 23 | public function setUp() |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @expectedException RuntimeException |
||
| 30 | */ |
||
| 31 | public function testValidatePluginThrowsExceptionWhenClassIsInvalid() |
||
| 35 | |||
| 36 | public function testValidatePluginDoesNothingIfPluginIsValid() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @expectedException RuntimeException |
||
| 44 | */ |
||
| 45 | public function testValidateThrowsExceptionWhenClassIsInvalid() |
||
| 49 | |||
| 50 | public function testValidateDoesNothingIfPluginIsValid() |
||
| 55 | } |
||
| 56 |