public function test_upload_object()
 {
     $this->assertInstanceOf('\\Dugun\\UploadBundle\\Service\\DugunUploadService', $this->service);
     $this->service->setUploaderService('dugun_image_microservice');
     $image = new UploadedFile(__DIR__ . '/../Resources/assets/test/file1.jpg', 'file1.jpg', 'image/jpeg');
     $response = $this->service->upload($image, 't2/test77.jpg', $delete = false, $overwrite = true);
     $this->assertTrue(is_array($response));
     $this->assertArrayHasKey('success', $response);
     $this->assertTrue($response['success']);
 }