public function testSetRawContentAndGetRawContent()
 {
     $this->assertSame('', $this->rfc->getRawContent());
     $html = '<html><head><title>Testing :)</title></head><body></body></html>';
     $this->rfc->setRawContent($html);
     $this->assertSame($html, $this->rfc->getRawContent());
 }
 /**
  * @param string $rfcLocation
  */
 private function loadRfc($rfcLocation, $rfcCode)
 {
     // Suppress HTML5 errors
     libxml_use_internal_errors(true);
     $this->document = new \DOMDocument();
     $this->document->loadHTMLFile($rfcLocation);
     // Turn errors back on
     libxml_use_internal_errors(false);
     $this->rfc = new Rfc();
     $this->rfc->setCode($rfcCode);
     $this->rfc->setRawContent($this->document->saveHTML());
 }