public function testIsAdmin()
 {
     $us = new UserSession($this->container);
     $this->assertFalse($us->isAdmin());
     $this->container['sessionStorage']->user = array('role' => Role::APP_ADMIN);
     $this->assertTrue($us->isAdmin());
     $this->container['sessionStorage']->user = array('role' => Role::APP_USER);
     $this->assertFalse($us->isAdmin());
     $this->container['sessionStorage']->user = array('role' => '');
     $this->assertFalse($us->isAdmin());
 }