public function VueBlockTest::testConvertKebabCase in Decoupled Blocks: Vue.js 8
Tests the convertKebabCase.
@dataProvider convertKebabCaseProvider
File
- tests/
src/ Unit/ Plugin/ Block/ VueBlockTest.php, line 259
Class
- VueBlockTest
- @coversDefaultClass \Drupal\pdb_vue\Plugin\Block\VueBlock @group pdb_vue
Namespace
Drupal\Tests\pdb_vue\Unit\Plugin\BlockCode
public function testConvertKebabCase($value, $expected) {
$return = $this->plugin
->convertKebabCase($value);
$this
->assertEquals($expected, $return);
}