/** * Test: incorrect xml-file */ public function test_incorrectString() { $this->object->parseString('<any><xml><file></file></xml></any>'); $this->assertTrue($this->object->failed()); $this->assertEmpty($this->object->objects()); $this->assertNotEmpty($this->object->getErrors()); }