示例#1
0
 public function testMaxSize()
 {
     $size = 5368709120;
     // 5GB, integer types in 32 bits machines only admit 2GB
     $material = new material();
     $material->setSize($size);
     $this->assertEquals($size, $material->getSize());
 }