<?php

namespace Friendica\Test\src\Core\Cache;


use Friendica\Core\Cache\ArrayCache;

class ArrayCacheDriverTest extends MemoryCacheTest
{
	protected function getInstance()
	{
		$this->cache = new ArrayCache();
		return $this->cache;
	}

	public function tearDown()
	{
		$this->cache->clear(false);
		parent::tearDown();
	}

	public function testTTL()
	{
		// Array Cache doesn't support TTL
		return true;
	}
}