public function testDiffForHumansLocalizedInFarsi()
 {
     IntlCarbon::setLocale('fa');
     $d = IntlCarbon::now()->subSecond();
     $this->assertSame('1 ثانیه پیش', $d->diffForHumans());
     $d = IntlCarbon::now()->subSeconds(2);
     $this->assertSame('2 ثانیه پیش', $d->diffForHumans());
     $d = IntlCarbon::now()->subMinute();
     $this->assertSame('1 دقیقه پیش', $d->diffForHumans());
     $d = IntlCarbon::now()->subMinutes(2);
     $this->assertSame('2 دقیقه پیش', $d->diffForHumans());
     $d = IntlCarbon::now()->subHour();
     $this->assertSame('1 ساعت پیش', $d->diffForHumans());
     $d = IntlCarbon::now()->subHours(2);
     $this->assertSame('2 ساعت پیش', $d->diffForHumans());
     $d = IntlCarbon::now()->subDay();
     $this->assertSame('1 روز پیش', $d->diffForHumans());
     $d = IntlCarbon::now()->subDays(2);
     $this->assertSame('2 روز پیش', $d->diffForHumans());
     $d = IntlCarbon::now()->subWeek();
     $this->assertSame('1 هفته پیش', $d->diffForHumans());
     $d = IntlCarbon::now()->subWeeks(2);
     $this->assertSame('2 هفته پیش', $d->diffForHumans());
     $d = IntlCarbon::now()->subMonth();
     $this->assertSame('1 ماه پیش', $d->diffForHumans());
     $d = IntlCarbon::now()->subMonths(2);
     $this->assertSame('2 ماه پیش', $d->diffForHumans());
     $d = IntlCarbon::now()->subYear();
     $this->assertSame('1 سال پیش', $d->diffForHumans());
     $d = IntlCarbon::now()->subYears(2);
     $this->assertSame('2 سال پیش', $d->diffForHumans());
     $d = IntlCarbon::now()->addSecond();
     $this->assertSame('1 ثانیه بعد', $d->diffForHumans());
     $d = IntlCarbon::now()->addSecond();
     $d2 = IntlCarbon::now();
     $this->assertSame('1 ثانیه پیش از', $d->diffForHumans($d2));
     $this->assertSame('1 ثانیه پس از', $d2->diffForHumans($d));
     $d = IntlCarbon::now()->addSecond();
     $d2 = IntlCarbon::now();
     $this->assertSame('1 ثانیه پیش از', $d->diffForHumans($d2));
     $this->assertSame('1 ثانیه پس از', $d2->diffForHumans($d));
     $this->assertSame('1 ثانیه', $d->diffForHumans($d2, true));
     $this->assertSame('2 ثانیه', $d2->diffForHumans($d->addSecond(), true));
 }