/**
	 * Testing Gc().
	 *
	 * @return void
	 */
	public function testGc()
	{
		$this->object = JCache::getInstance('output', array('lifetime' => 2, 'defaultgroup' => ''));
		$this->object->store(
			'Now is the time for all good people to throw a party.',
			42,
			''
		);
		$this->object->store(
			'And this is the cache that tries men\'s souls',
			42,
			''
		);
		sleep(5);
		$this->object->gc();
		$this->assertThat(
			$this->object->get(42, ''),
			$this->isFalse(),
			'Should not retrieve the data properly'
		);
		$this->assertThat(
			$this->object->get(42, ''),
			$this->isFalse(),
			'Should not retrieve the data properly'
		);
	}
 /**
  * Testing Gc().
  *
  * @medium
  *
  * @return void
  */
 public function testGc()
 {
     $this->object = JCache::getInstance('output', array('lifetime' => 2, 'defaultgroup' => ''));
     $this->object->store($this->testData_A, 42, '');
     $this->object->store($this->testData_B, 43, '');
     sleep(5);
     $this->object->gc();
     $this->assertFalse($this->object->get(42, ''));
     $this->assertFalse($this->object->get(43, ''));
 }