protected function setUp()
{
$this->config = Mockery::mock('Gc\\Core\\Config');
$this->config->shouldReceive('getValue')->once()->with('cache_lifetime')->andReturn(100);
$this->serviceLocator = Mockery::mock('Zend\\ServiceManager\\ServiceLocatorInterface');
$this->serviceLocator->shouldReceive('get')->with('CoreConfig')->andReturn($this->config);
$this->object = new CacheFactory();
}