Generates the test route collection.
\Symfony\Component\Routing\RouteCollection Returns the test route collection.
protected function getTestRouteCollection() {
if (!isset($this->routeCollection)) {
$route_collection = new RouteCollection();
$route_collection
->add('menu_test_1', new Route('/menu_test/test_1', array(
'_controller' => '\\Drupal\\menu_test\\TestController::test',
), array(
'_access' => 'TRUE',
)));
$route_collection
->add('menu_test_2', new Route('/menu_test/test_2', array(
'_controller' => '\\Drupal\\menu_test\\TestController::test',
), array(
'_access' => 'FALSE',
)));
$this->routeCollection = $route_collection;
}
return $this->routeCollection;
}