|
@ -140,11 +140,11 @@ class LoadTest extends PHPUnit_Framework_TestCase |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @TODO: Load::getFilePath - check for wrong index |
|
|
* @TODO: Load::getFilePath - check for wrong index |
|
|
* @expectedException PHPUnit_Framework_Error |
|
|
|
|
|
* @runInSeparateProcess |
|
|
* @runInSeparateProcess |
|
|
*/ |
|
|
*/ |
|
|
public function testAutoloadGetFilePathNullIndex() |
|
|
public function testAutoloadGetFilePathNullIndex() |
|
|
{ |
|
|
{ |
|
|
|
|
|
$this->setExpectedException('PHPUnit_Framework_Error'); |
|
|
$this->setConstants(); |
|
|
$this->setConstants(); |
|
|
Load::setAutoloadFrom(self::$file); |
|
|
Load::setAutoloadFrom(self::$file); |
|
|
$autoload = require(self::$file); |
|
|
$autoload = require(self::$file); |
|
|