예제 #1
0
 public function testSetMaxFiles()
 {
     $name = 'upload';
     $maxFiles = 44;
     $upload = new Upload($name);
     $upload->setMaxFiles($maxFiles);
     $this->assertEquals($upload->getMaxFiles(), $maxFiles);
 }