public function testSetDocumentCharacterSet()
 {
     $characterSet = 'foo';
     $wrapper = new Wrapper();
     $wrapper->createConfiguration(array('documentUri' => 'http://example.com/', 'documentCharacterSet' => $characterSet));
     $this->assertEquals($characterSet, $wrapper->getConfiguration()->getDocumentCharacterSet());
 }
 /**
  * 
  * @return array|null
  */
 public function getRawValidatorOutputLines()
 {
     if (is_null(key($this->validatorRawOutput))) {
         if ($this->deferToParentIfNoRawOutput) {
             return parent::getRawValidatorOutputLines();
         }
         return null;
     }
     $content = explode("\n", current($this->validatorRawOutput));
     next($this->validatorRawOutput);
     return $content;
 }
 public function testHasConfigurationWhenConfigurationIsSet()
 {
     $wrapper = new Wrapper();
     $this->assertTrue($wrapper->setConfiguration(new Configuration())->hasConfiguration());
 }