public function testFileEmptyException() { $e = new FileEmptyException('file.txt'); $this->assertEquals('The file "file.txt" is empty', $e->getMessage(), 'A message should be generated'); }