Ejemplo n.º 1
0
 public function testStrictDates()
 {
     // When we start, the option "strict_dates" should be set to false.
     $calendar = new Calendar();
     $this->assertSame(false, $calendar->getStrictDates());
     $calendar->setStrictDates(true);
     $this->assertSame(true, $calendar->getStrictDates());
 }