Example #1
0
 public function testSuffix()
 {
     $path = new Path('/dir/base.ext');
     $path->suffix('-new');
     $this->assertEquals('/dir/base-new.ext', $path->name());
 }