Esempio n. 1
0
 public function testItShouldCheckIfIsLeapYearThrowsException()
 {
     $this->setExpectedException(Exception::class);
     $date = new DateTime('2015-01-01');
     Assert::isLeapYear($date);
 }