示例#1
0
文件: SimpleMapTest.php 项目: fwk/xml
 /**
  */
 public function test__toString()
 {
     $this->assertInternalType('string', $this->object->__toString());
 }
示例#2
0
文件: XmlFileTest.php 项目: fwk/xml
 public function testBogusXml()
 {
     $this->object = new XmlFile(__DIR__ . '/test-bogus.xml');
     $this->setExpectedException('\\Fwk\\Xml\\Exceptions\\XmlErrorException');
     $this->object->open();
 }
示例#3
0
文件: RSSMapTest.php 项目: fwk/xml
 /**
  */
 public function testExists()
 {
     $this->assertTrue($this->object->exists());
 }