/** * Tests symbols on comments fields from file */ public function testSymbolsOnCommentsAndTSSFromFile() { $path = SampleXmlValidationUtils::PAYMENT_REQUEST_WITH_SYMBOLS_XML_PATH; $prefix = __DIR__ . '/../../../resources'; $xml = file_get_contents($prefix . $path); /* @var PaymentRequest $fromXmlRequest */ $fromXmlRequest = new PaymentRequest(); $fromXmlRequest = $fromXmlRequest->fromXml($xml); SampleXmlValidationUtils::checkUnmarshalledPaymentRequestWithSymbols($fromXmlRequest, $this); }