/**
  * Tests conversion of {@link PaymentRequest} from XML file for release payment types.
  */
 public function testPaymentRequestXmlFromFileHoldReasonCodeRelease()
 {
     $path = SampleXmlValidationUtils::RELEASE_PAYMENT_REASON_REQUEST_XML_PATH;
     $prefix = __DIR__ . '/../../../resources';
     $xml = file_get_contents($prefix . $path);
     //unmarshal back to request
     /* @var PaymentRequest $fromXmlRequest */
     $fromXmlRequest = new PaymentRequest();
     $fromXmlRequest = $fromXmlRequest->fromXml($xml);
     SampleXmlValidationUtils::checkUnmarshalledHoldReasonRequestPaymentRequest($fromXmlRequest, $this);
 }