예제 #1
0
파일: ConstructTest.php 프로젝트: hmlb/date
 /**
  * @expectedException \InvalidArgumentException
  */
 public function testInstanceWithDaysThrowsException()
 {
     Interval::instance(Date::now()->diff(Date::now()->addWeeks(3)));
 }