public function testGetPath() { $existentFile = DATA_DIR . '/existing-file.php'; $file = new File($existentFile); $this->assertSame($existentFile, $file->getPath()); }
public function add(File $file) { $this->client->run($this->directory, new PlainArgument('add'), new PlainArgument($file->getPath())); }