protected function startDataSet(PHPUnit_Extensions_Database_DataSet_IDataSet $dataset)
{
$this->fh = fopen($this->filename, 'w');
if ($this->fh === FALSE) {
throw new PHPUnit_Framework_Exception("Could not open {$this->filename} for writing see " . __CLASS__ . "::setFileName()");
}
fwrite($this->fh, "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n");
fwrite($this->fh, "<dataset>\n");
}