You are here

public function DatabaseMockStorage::default in Apigee Edge 8

File

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

Class

DatabaseMockStorage
A mock storage for functional tests.

Namespace

Drupal\apigee_mock_api_client

Code

public function default() {
  $default = $this->state
    ->get(static::STATE_DEFAULT_RESULT_ID);
  return $default instanceof SerializableMessageWrapper ? $default
    ->getMessage() : $default;
}