Exemplo n.º 1
0
 /**
  * Test that the version parsing works.
  *
  * @param string $expects The expected value.
  *
  * @param mixed  $value   The value to set.
  *
  * @return void
  *
  * @dataProvider permissionNumberProvider
  */
 public function testPermissionParsing($expects, $value)
 {
     $phar = new FileEntry();
     $phar->setPermissions($value);
     $this->assertEquals($expects, $phar->getPermissionString());
 }