You are here

public function StringFormattingTest::testFailureOnInvalidInput in GraphQL 8.3

@expectedException \InvalidArgumentException @expectedExceptionMessageRegExp /Failed to create a specification compliant string representation for '.+'\./

File

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

Class

StringFormattingTest
Tests string helper functions.

Namespace

Drupal\Tests\graphql\Unit

Code

public function testFailureOnInvalidInput() {
  StringHelper::camelCase('^%!@#&');
}