示例#1
0
 /**
  * @expectedException \InvalidArgumentException
  */
 public function testUppercaseVariantsDisallowed()
 {
     $this->object->allowUppercaseVariants(false);
     $this->object->set('another/path/to/file.PNG');
 }
示例#2
0
 /**
  * @expectedException \InvalidArgumentException
  */
 public function testNoExtension()
 {
     $this->object->set('/bin/shell');
 }