public function setUp()
 {
     $this->mockUploadId = $this->getMockBuilder('Aws\\Common\\Model\\MultipartUpload\\AbstractUploadId')->setMethods(array('toParams'))->getMock();
     $this->mockUploadId->expects($this->any())->method('toParams')->will($this->returnValue(array('accountId' => '-', 'vaultName' => 'foo', 'uploadId' => 'bar')));
 }
 /**
  * @expectedException \InvalidArgumentException
  */
 public function testThrowsExceptionWhenMissingData()
 {
     UploadId::fromParams(array('wrongKey' => 'dummyData'));
 }