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