|
|
@ -15,6 +15,7 @@ require_once dirname(__FILE__) . '/../../cache/Cache.php'; |
|
|
|
require_once dirname(__FILE__) . '/../../cache/Cacher.php'; |
|
|
|
require_once dirname(__FILE__) . '/../../Registry.php'; |
|
|
|
require_once dirname(__FILE__) . '/../../Config.php'; |
|
|
|
require_once dirname(__FILE__) . '/../../exception/InitializationException.php'; |
|
|
|
|
|
|
|
class CacherTest extends PHPUnit_Framework_TestCase |
|
|
|
{ |
|
|
@ -27,7 +28,7 @@ class CacherTest extends PHPUnit_Framework_TestCase |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @expectedException Exception |
|
|
|
* @expectedException InitializationException |
|
|
|
* @expectedExcepptionMessage Cache driver |
|
|
|
*/ |
|
|
|
public function testNotExtendsCache() |
|
|
|