public function testMapCreatesASegmentRouteWhenProvidedWithAStringRoute() { $map = $this->app->map('/:controller', function ($params, $app) { }); $route = $map->route(); $this->assertInstanceOf('Zend\\Mvc\\Router\\Http\\Segment', $route); }