public function testCreateServiceWithFileApc()
{
$this->config->shouldReceive('getValue')->once()->with('cache_handler')->andReturn('apc');
try {
$instance = $this->object->createService($this->serviceLocator);
$this->assertInstanceOf('Zend\\Cache\\Storage\\Adapter\\AbstractAdapter', $instance);
} catch (\Zend\Cache\Exception\ExtensionNotLoadedException $e) {
//don't care
}
}