public function testFile() { $file = \Coast\File::createTemp(); $this->_xml->writeFile($file); $file->open('r'); $this->assertEquals($this->_output, $file->read()); $file->close(); $file->remove(); }