/** * @testdox Data is removed from the cache store */ public function testCacheRemove() { $data = 'testData'; $this->assertTrue($this->handler->store($this->id, $this->group, $data), 'Initial Store Failed'); $this->assertTrue($this->handler->remove($this->id, $this->group), 'Removal Failed'); $this->assertFalse($this->handler->get($this->id, $this->group), 'No data should be returned from the cache store after being removed.'); }
/** * Testing remove(). * * @return void */ public function testRemove() { $this->assertThat( $this->object->remove(1, ''), $this->isTrue() ); }