You are here

public function MollieApiMock::__construct in Commerce Mollie 8

MollieApiMock constructor.

File

tests/modules/commerce_mollie_tests/src/Services/MollieApiMock.php, line 36

Class

MollieApiMock
Mock class.

Namespace

Drupal\commerce_mollie_tests\Services

Code

public function __construct() {
  $this->mollieApiClient = new MollieApiClient();
  $this->commerceOrderStorage = \Drupal::entityTypeManager()
    ->getStorage('commerce_order');
}