You are here

public function StringFormattingTest::testCamelCaseFormatting in GraphQL 8.3

@dataProvider providerTestStringFormatting

Parameters

$input:

$expected:

File

tests/src/Unit/StringFormattingTest.php, line 29

Class

StringFormattingTest
Tests string helper functions.

Namespace

Drupal\Tests\graphql\Unit

Code

public function testCamelCaseFormatting($input, $expected) {
  $this
    ->assertSame($expected, call_user_func_array([
    StringHelper::class,
    'camelCase',
  ], $input));
}