Exemplo n.º 1
0
 /**
  * Test changing day
  */
 public function testSetDay()
 {
     $day = new Day(Day::MONDAY);
     $day->setDay(Day::SUNDAY);
     $dayFormatted = $day->format('l');
     $this->assertEquals('Sunday', $dayFormatted);
 }