/** * @depends testAddGet */ public function testClear() { // TODO: Include test fixtures instead of relying on side effect. $this->testAddGet(); $jobId = 1; $result = $this->object->clear($jobId); $this->assertTrue($result); $result = $this->object->get($jobId); $this->assertNull($result); }