Example #1
0
 public function testSetPath()
 {
     $name = 'upload';
     $path = 'files/upload/';
     $upload = new Upload($name);
     $upload->setPath($path);
     $this->assertEquals($upload->getPath(), $path);
 }