You are here

public function PaymentMethodConfigurationTest::testUuid in Payment 8.2

@covers ::setUuid @covers ::uuid

File

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

Class

PaymentMethodConfigurationTest
@coversDefaultClass \Drupal\payment\Entity\PaymentMethodConfiguration

Namespace

Drupal\Tests\payment\Unit\Entity

Code

public function testUuid() {
  $uuid = $this
    ->randomMachineName();
  $this
    ->assertSame($this->sut, $this->sut
    ->setUuid($uuid));
  $this
    ->assertSame($uuid, $this->sut
    ->uuid());
}