Example #1
0
 public function test_toString()
 {
     $this->assertEquals(Month::JANUARY()->__toString(), "JANUARY");
     $this->assertEquals(Month::FEBRUARY()->__toString(), "FEBRUARY");
     $this->assertEquals(Month::MARCH()->__toString(), "MARCH");
     $this->assertEquals(Month::APRIL()->__toString(), "APRIL");
     $this->assertEquals(Month::MAY()->__toString(), "MAY");
     $this->assertEquals(Month::JUNE()->__toString(), "JUNE");
     $this->assertEquals(Month::JULY()->__toString(), "JULY");
     $this->assertEquals(Month::AUGUST()->__toString(), "AUGUST");
     $this->assertEquals(Month::SEPTEMBER()->__toString(), "SEPTEMBER");
     $this->assertEquals(Month::OCTOBER()->__toString(), "OCTOBER");
     $this->assertEquals(Month::NOVEMBER()->__toString(), "NOVEMBER");
     $this->assertEquals(Month::DECEMBER()->__toString(), "DECEMBER");
 }