public function test_removeFirstXValuesFromList_ShouldNotFail_IfListIsEmpty() { $this->redis->removeFirstXValuesFromList($this->emptyListKey, 1); $this->assertFirstValuesInList($this->emptyListKey, array()); }
public function markRequestSetsAsProcessed() { $this->backend->removeFirstXValuesFromList($this->key, $this->numRequestsToProcessInBulk); }