/** * @expectedException \Opilo\Farsi\InvalidDateException */ public function test_convert_to_days_after_farthest_supported_day_fails() { $farthest = JalaliDate::getFarthestSupportedDate(); $this->_test_2_Way_conversion('2100-3-21', $farthest->getYear() + 1, 1, 1); }