public function ResolverBuilderTest::testBuilderProducing in GraphQL 8.4
@covers ::produce
@dataProvider testBuilderProducingProvider
Parameters
string $input:
string $expected:
File
- tests/
src/ Kernel/ ResolverBuilderTest.php, line 57
Class
- ResolverBuilderTest
- Tests that the resolver builder behaves correctly.
Namespace
Drupal\Tests\graphql\KernelCode
public function testBuilderProducing($input, $expected) : void {
$plugin = $this->builder
->produce($input, []);
$this
->assertInstanceOf($expected, $plugin);
}