/**
  * Test get filesystem path to Slim app root directory
  */
 public function testGetRoot()
 {
     $_SERVER['DOCUMENT_ROOT'] = dirname(__FILE__);
     //<-- No trailing slash
     $s = new \Slim\Slim();
     $this->assertEquals($_SERVER['DOCUMENT_ROOT'] . '/foo/', $s->root());
     //<-- Appends physical app path with trailing slash
 }