You are here

public function PaymentReferenceBaseTest::testGetInfo in Payment 8.2

@covers ::getInfo

File

tests/src/Unit/Element/PaymentReferenceBaseTest.php, line 230

Class

PaymentReferenceBaseTest
@coversDefaultClass \Drupal\payment\Element\PaymentReferenceBase

Namespace

Drupal\Tests\payment\Unit\Element

Code

public function testGetInfo() {
  $info = $this->sut
    ->getInfo();
  $this
    ->assertIsArray($info);
  $this
    ->assertTrue(is_callable($info['#process'][0]));
}