예제 #1
0
 /**
  * Tests whether the generateFilename method returns a file according to
  * the right format.
  *
  * @return void
  */
 public function testGenerateFilename()
 {
     // separate the directories with the DIRECTORY_SEPARATOR constant to
     // prevent failing tests on windows
     $filename = 'directory' . DIRECTORY_SEPARATOR . 'directory2' . DIRECTORY_SEPARATOR . 'file.php';
     $this->assertEquals('_directory_directory2_file.html', $this->fixture->generateFilename($filename));
 }