You are here

public function SetStatusTest::testAccessWithoutPaymentAsBoolean in Payment 8.2

@covers ::access

File

tests/src/Unit/Plugin/Action/SetStatusTest.php, line 282

Class

SetStatusTest
@coversDefaultClass \Drupal\payment\Plugin\Action\SetStatus

Namespace

Drupal\Tests\payment\Unit\Plugin\Action

Code

public function testAccessWithoutPaymentAsBoolean() {
  $account = $this
    ->createMock(AccountInterface::class);
  $access_result = $this->sut
    ->access(NULL, $account);
  $this
    ->assertFalse($access_result);
}