You are here

public function VueBlockTest::testBuildPropertyString in Decoupled Blocks: Vue.js 8

Tests the buildPropertyString method.

File

tests/src/Unit/Plugin/Block/VueBlockTest.php, line 247

Class

VueBlockTest
@coversDefaultClass \Drupal\pdb_vue\Plugin\Block\VueBlock @group pdb_vue

Namespace

Drupal\Tests\pdb_vue\Unit\Plugin\Block

Code

public function testBuildPropertyString() {
  $expected = ' test-field="test" :second_field="1"';
  $return = $this->plugin
    ->buildPropertyString();
  $this
    ->assertEquals($expected, $return);
}