You are here

public function PaymentMethodConfigurationTest::testGetUserStorage in Payment 8.2

@covers ::getUserStorage

File

tests/src/Unit/Entity/PaymentMethodConfigurationTest.php, line 220

Class

PaymentMethodConfigurationTest
@coversDefaultClass \Drupal\payment\Entity\PaymentMethodConfiguration

Namespace

Drupal\Tests\payment\Unit\Entity

Code

public function testGetUserStorage() {
  $method = new \ReflectionMethod($this->sut, 'getUserStorage');
  $method
    ->setAccessible(TRUE);
  $this
    ->assertSame($this->userStorage, $method
    ->invoke($this->sut));
}