You are here

public function BasicTest::testGetBrandLabel in Payment 8.2

@covers ::getBrandLabel @covers ::setBrandLabel

File

tests/src/Unit/Plugin/Payment/MethodConfiguration/BasicTest.php, line 309

Class

BasicTest
@coversDefaultClass \Drupal\payment\Plugin\Payment\MethodConfiguration\Basic

Namespace

Drupal\Tests\payment\Unit\Plugin\Payment\MethodConfiguration

Code

public function testGetBrandLabel() {
  $label = $this
    ->randomMachineName();
  $this
    ->assertSame($this->sut, $this->sut
    ->setBrandLabel($label));
  $this
    ->assertSame($label, $this->sut
    ->getBrandLabel());
}