You are here

public function PaymentMethodConfigurationTest::testGetOwnerId in Payment 8.2

@covers ::setOwnerId @covers ::getOwnerId

File

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

Class

PaymentMethodConfigurationTest
@coversDefaultClass \Drupal\payment\Entity\PaymentMethodConfiguration

Namespace

Drupal\Tests\payment\Unit\Entity

Code

public function testGetOwnerId() {
  $id = mt_rand();
  $this
    ->assertSame($this->sut, $this->sut
    ->setOwnerId($id));
  $this
    ->assertSame($id, $this->sut
    ->getOwnerId());
}