public function testResumeFinishedUpload()
{
$statusResponse = new Response(200, [], $this->successBody);
$this->requestWrapper->send(Argument::type('Psr\\Http\\Message\\RequestInterface'), Argument::type('array'))->willReturn($statusResponse);
$uploader = new ResumableUploader($this->requestWrapper->reveal(), $this->stream, 'http://www.example.com');
$this->assertEquals(json_decode($this->successBody, true), $uploader->resume('http://some-resume-uri.example.com'));
}