You are here

public function DatabaseMockStorage::reset in Apigee Edge 8

File

tests/modules/apigee_mock_api_client/src/DatabaseMockStorage.php, line 122

Class

DatabaseMockStorage
A mock storage for functional tests.

Namespace

Drupal\apigee_mock_api_client

Code

public function reset() : MockStorageInterface {
  $this->queue
    ->deleteQueue();
  $this
    ->setDefault();
  $this->state
    ->delete(static::STATE_REQUESTS_ID);
  $this->state
    ->delete(static::STATE_MATCHABLE_RESULT_ID);
  return $this;
}