public function testSetFilePath() { $this->class->setFilePath(__DIR__ . '/../MyFile.php'); $this->assertSame(Path::canonicalize(__DIR__ . '/..'), $this->class->getDirectory()); $this->assertSame('MyFile.php', $this->class->getFileName()); }