Gc\Mvc\Factory\CacheFactoryTest::testCreateServiceWithFileApc PHP Method

testCreateServiceWithFileApc() public method

Test
public testCreateServiceWithFileApc ( ) : void
return void
    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
        }
    }