public function XMLParseTest::testXmlParse in GraphQL 8.4
@covers \Drupal\graphql\Plugin\GraphQL\DataProducer\XML\XMLParse::resolve
File
- tests/
src/ Kernel/ DataProducer/ XML/ XMLParseTest.php, line 15
Class
- XMLParseTest
- Data producers XMLParse test class.
Namespace
Drupal\Tests\graphql\Kernel\DataProducer\XMLCode
public function testXmlParse() : void {
$result = $this
->executeDataProducer('xml_parse', [
'input' => $this
->getDocumentSource(),
]);
$this
->assertInstanceOf(\DOMElement::class, $result);
}