public function testEnvironmentRestricts()
 {
     // ENVIRONMENT should be 'testing'
     $_SERVER['REQUEST_METHOD'] = 'GET';
     $routes = new RouteCollection();
     $expected = ['here' => '\\there'];
     $routes->environment('testing', function ($routes) {
         $routes->get('here', 'there');
     });
     $routes->environment('badenvironment', function ($routes) {
         $routes->get('from', 'to');
     });
     $this->assertEquals($expected, $routes->getRoutes());
 }