/** * @expectedException phFileDataException */ public function testNonExistantFileThrowsException() { $this->fileData->bind($this->getTestData()); $this->fileData->saveFile(sys_get_temp_dir() . '/tempFile.html'); }