You are here

public function StringTest::testUppercase in GraphQL 8.4

@covers \Drupal\graphql\Plugin\GraphQL\DataProducer\String\Uppercase::resolve

@dataProvider testUppercaseProvider

File

tests/src/Kernel/DataProducer/StringTest.php, line 19

Class

StringTest
Data producers String test class.

Namespace

Drupal\Tests\graphql\Kernel\DataProducer

Code

public function testUppercase(string $input, string $expected) : void {
  $result = $this
    ->executeDataProducer('uppercase', [
    'string' => $input,
  ]);
  $this
    ->assertEquals($expected, $result);
}