/** * Tests whether the generateFilename method returns a file according to * the right format. * * @covers phpDocumentor\Transformer\Transformer::generateFilename * * @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)); }