| 1 | <?php |
||
| 19 | class ClassLoaderTraitTest extends \PHPUnit_Framework_TestCase{ |
||
| 20 | use ClassLoaderTrait; |
||
| 21 | |||
| 22 | public function testClassLoaderSuccess(){ |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @expectedException \chillerlan\Database\DBException |
||
| 29 | * @expectedExceptionMessage chillerlan\Database\Drivers\MySQLi\MySQLiDriver does not implement chillerlan\DatabaseTest\Traits\TestInterface |
||
| 30 | */ |
||
| 31 | public function testClassLoaderDoesNotImplementException(){ |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @expectedException \chillerlan\Database\DBException |
||
| 37 | * @expectedExceptionMessage Interface whatevs does not exist |
||
| 38 | */ |
||
| 39 | public function testClassLoaderDoesNotExistException(){ |
||
| 42 | |||
| 43 | } |
||
| 44 |