Esempio n. 1
0
 /**
  * @depends testGetMonth
  * @expectedException \InvalidArgumentException
  */
 public function testSubMonthInvalid()
 {
     $month = new Month(new \DateTime('1987-06-18'));
     $month->subMonth(-1);
 }