You are here

public function PaymentReferenceTest::testGetBundle in Payment 8.2

@covers ::setBundle @covers ::getBundle

File

modules/payment_reference/tests/src/Unit/Plugin/Payment/Type/PaymentReferenceTest.php, line 132

Class

PaymentReferenceTest
@coversDefaultClass \Drupal\payment_reference\Plugin\Payment\Type\PaymentReference

Namespace

Drupal\Tests\payment_reference\Unit\Plugin\Payment\Type

Code

public function testGetBundle() {
  $bundle = $this
    ->randomMachineName();
  $this
    ->assertSame($this->sut, $this->sut
    ->setBundle($bundle));
  $this
    ->assertSame($bundle, $this->sut
    ->getBundle());
}