You are here

public function StringFormattingTest::testPropCaseFormatting in GraphQL 8.3

@dataProvider providerTestStringFormatting

Parameters

$input:

$expected:

File

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

Class

StringFormattingTest
Tests string helper functions.

Namespace

Drupal\Tests\graphql\Unit

Code

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