public function test_uploadDispute()
 {
     $dispute = Dispute::retrieve(SampleData::$disputeId);
     /** @var Dispute $dispute */
     $file = $dispute->uploadEvidence($this->receiptImage);
     $this->assertStringStartsWith("DF", $file->id);
     $this->assertEquals($file->dispute, $dispute->id);
 }
 /**
  * Initializes resources (i.e. registers them with Resource::_registry). Note
  * that if you add a Resource then you must initialize it here.
  *
  * @internal
  */
 private static function initializeResources()
 {
     if (self::$initialized) {
         return;
     }
     Resource::init();
     Resources\Application::init();
     Resources\Identity::init();
     Resources\Processor::init();
     Resources\Merchant::init();
     Resources\PaymentInstrument::init();
     Resources\Authorization::init();
     Resources\Transfer::init();
     Resources\Reversal::init();
     Resources\Dispute::init();
     Resources\Webhook::init();
     Resources\Settlement::init();
     Resources\Verification::init();
     Resources\Evidence::init();
     self::$initialized = true;
 }