Esempio n. 1
0
 /**
  * @test
  * @expectedException phpSmug\Exception\InvalidArgumentException
  * @expectedExceptionMessage File not found: /path/to/non/existant/file.jpg
  */
 public function shouldThrowExceptionIfUploadFileNotFound()
 {
     $client = new Client($this->APIKey);
     $client->upload('album/rAnD0m', '/path/to/non/existant/file.jpg');
 }