You are here

public function ConfigOperationsProviderTest::setUp in Payment 8.2

Overrides UnitTestCase::setUp

File

tests/src/Unit/Plugin/Payment/Status/ConfigOperationsProviderTest.php, line 44

Class

ConfigOperationsProviderTest
@coversDefaultClass \Drupal\payment\Plugin\Payment\Status\ConfigOperationsProvider

Namespace

Drupal\Tests\payment\Unit\Plugin\Payment\Status

Code

public function setUp() : void {
  $this->paymentStatusListBuilder = $this
    ->createMock(EntityListBuilderInterface::class);
  $this->paymentStatusStorage = $this
    ->createMock(EntityStorageInterface::class);
  $this->sut = new ConfigOperationsProvider($this->paymentStatusStorage, $this->paymentStatusListBuilder);
}