Cache tests IL_Init.
{
include_once './Services/Cache/classes/class.ilExampleCache.php';
$get = $cache->getEntry("test_id");
$stat = $cache->getLastAccessStatus();
$value.= $stat."-".$get."-";
$get = $cache->storeEntry("test_id", "test_value");
$get = $cache->getEntry("test_id");
$stat = $cache->getLastAccessStatus();
$value.= $stat."-".$get."-";
sleep(6);
$get = $cache->getEntry("test_id");
$stat = $cache->getLastAccessStatus();
$value.= $stat."-".$get."-";
$this->assertEquals("miss--hit-test_value-miss--", $value);
}