container); $this->assertEquals('en', $h->jsLang()); } public function testTimezone() { $h = new App($this->container); $this->assertEquals('UTC', $h->getTimezone()); } public function testFlashMessage() { $h = new App($this->container); $s = new Session; $this->assertEmpty($h->flashMessage()); $s->flash('test & test'); $this->assertEquals('
test & test
', $h->flashMessage()); $this->assertEmpty($h->flashMessage()); $this->assertEmpty($h->flashMessage()); $s->flashError('test & test'); $this->assertEquals('
test & test
', $h->flashMessage()); $this->assertEmpty($h->flashMessage()); } }