示例#1
0
 public function testLoadInvalid()
 {
     $loader = new FluentDOMLoaderDOMDocument();
     $contentType = 'text/xml';
     $result = $loader->load(NULL, $contentType);
     $this->assertNull($result);
 }
 public function testLoadInvalid()
 {
     $loader = new FluentDOMLoaderDOMDocument();
     $result = $loader->load(NULL, 'text/xml');
     $this->assertFalse($result);
 }