Exemple #1
0
 /**
  * Test different day formats
  */
 public function testDayFormatting()
 {
     $mon = Day::monday()->format('l');
     $tue = Day::tuesday()->format('l');
     $fri = Day::friday()->format('l');
     $this->assertEquals('Monday', $mon);
     $this->assertEquals('Tuesday', $tue);
     $this->assertEquals('Friday', $fri);
 }