future() public static method

public static future ( )
 public function testGetTimeFuture()
 {
     $time = new \DateTime();
     $interval = new \DateInterval('P3Y1M2D');
     $time->add($interval);
     $this->assertEquals($time->getTimestamp(), FieldDef::future()->days(2)->months(1)->years(3)->get());
     $this->assertEquals($time, FieldDef::future()->days(2)->months(1)->years(3)->get(DateIntervalHelper::DATE_TIME));
     $this->assertEquals($time->format('d-m-y'), FieldDef::future()->days(2)->months(1)->years(3)->get(DateIntervalHelper::STRING));
 }