public function testGetCurrentTimezone() { $configModel = new Config($this->container); $this->assertEquals('UTC', $configModel->getCurrentTimezone()); $this->container['sessionStorage']->user = array('timezone' => 'Europe/Paris'); $this->assertEquals('Europe/Paris', $configModel->getCurrentTimezone()); $this->container['sessionStorage']->user = array('timezone' => 'Something'); $this->assertEquals('Something', $configModel->getCurrentTimezone()); }