You are here

public function PaymentUnitTest::testLabel in Payment 8.2

Tests label().

File

tests/src/Kernel/PaymentUnitTest.php, line 66

Class

PaymentUnitTest
\Drupal\payment\Entity\Payment unit test.

Namespace

Drupal\Tests\payment\Kernel

Code

public function testLabel() {
  $this
    ->assertIdentical($this->payment
    ->label(), 'Unavailable');
}