mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 04:53:26 +00:00
45 lines
973 B
PHP
45 lines
973 B
PHP
<?php
|
|
|
|
namespace Alchemy\Tests\Phrasea\Cache;
|
|
|
|
use Alchemy\Phrasea\Cache\ArrayCache;
|
|
|
|
class ArrayCacheTest extends \PhraseanetTestCase
|
|
{
|
|
/**
|
|
* @var ArrayCache
|
|
*/
|
|
protected $object;
|
|
|
|
public function setUp()
|
|
{
|
|
$this->object = new ArrayCache;
|
|
}
|
|
|
|
public function testIsServer()
|
|
{
|
|
$this->assertTrue(is_bool($this->object->isServer()));
|
|
}
|
|
|
|
public function testGetStats()
|
|
{
|
|
$this->assertTrue(is_array($this->object->getStats()) || is_null($this->object->getStats()));
|
|
}
|
|
|
|
public function testGet()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
public function testDeleteMulti()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
}
|