Пример #1
0
 /**
  * @test
  */
 public function fileWorks()
 {
     $file = new File(__DIR__ . '/filetest.txt');
     $this->assertEquals(__DIR__ . '/filetest.txt', $file->filePath());
     $this->assertEquals('txt', $file->format());
 }
Пример #2
0
 /**
  * @return string
  */
 public function filePath()
 {
     return $this->file->filePath();
 }