Example #1
0
 /**
  * Tests if the timezone with an empty Registry-Key 'timezone'.
  */
 public function testNewEmptyDateWithoutRegistry()
 {
     Registry::remove('timezone');
     $date = new \Ilch\Date();
     $this->assertEquals('UTC', $date->getTimeZone()->getName(), 'Timezone is not UTC as expected when creating Ilch_Date without a paramter.');
 }