|
|
@ -36,14 +36,10 @@ class MemcacheCacheTest extends PHPUnit_Framework_TestCase |
|
|
|
$this->assertAttributeInstanceOf('TestCache', 'connection', $memcache); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @TODO: MemcacheCache::__construct - empty config array passes with no host params |
|
|
|
*/ |
|
|
|
public function testWrongConfig() |
|
|
|
{ |
|
|
|
$config = array('some' => array()); |
|
|
|
$this->setExpectedException('InitializationException', 'Configuration must have a'); |
|
|
|
|
|
|
|
$memcache = new MemcacheCache($config); |
|
|
|
} |
|
|
|
|
|
|
|