<?php
namespace eMapper\SQLite\Cache;
use eMapper\Cache\APCProvider;
/**
* Tests APCProvider with SQLiteMapper class
* @author emaphp
* @group sqlite
* @group cache
* @group apc
*/
class APCTest extends SQLiteCacheTest {
protected function setUp() {
try {
$this->provider = new APCProvider();
}
catch (\RuntimeException $re) {
$this->markTestSkipped(
'The APC extension is not available.'
);
}
$this->mapper = $this->getMapper();
$this->mapper->setCacheProvider($this->provider);
}
}
?>
|