| 1 | <?php |
||
| 19 | class ClassLoaderTraitTest extends \PHPUnit_Framework_TestCase{ |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var \chillerlan\bbcode\Parser |
||
| 23 | */ |
||
| 24 | protected $parser; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var \ReflectionClass |
||
| 28 | */ |
||
| 29 | protected $reflectionClass; |
||
| 30 | |||
| 31 | protected function setUp(){ |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @expectedException \chillerlan\BBCode\BBCodeException |
||
| 37 | * @expectedExceptionMessage stdClass does not implement chillerlan\bbcode\Modules\BaseModuleInterface |
||
| 38 | */ |
||
| 39 | public function testClassLoaderDoesNotImplementException(){ |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @expectedException \chillerlan\BBCode\BBCodeException |
||
| 48 | * @expectedExceptionMessage foobar does not exist |
||
| 49 | */ |
||
| 50 | public function testClassLoaderDoesNotExistException(){ |
||
| 56 | |||
| 57 | } |
||
| 58 |