private function getRuleHandleParams()
 {
     $rules = new RouteCollection();
     $rules->setRoutes([(new Route())->path('/users/{user_id}/profiles')->methods(['get', 'header'])->handler(function ($user_id, $sort, $top) {
         return compact(['user_id', 'sort', 'top']);
     })->param_sources(['user_id' => 'uri', 'sort' => 'get', 'top' => 'post'])->param_handlers('sort', [TestParamHandler::class, 'processTimesTen'])->param_handlers('top', [new TestParamHandler(), 'processDividedTen'])]);
     $request = $this->getRequest(['uri' => '/users/55/profiles/', 'method' => 'get', 'query' => ['sort' => 22], 'parsed_body' => ['top' => 33]]);
     return ['param' => $rules, 'request' => $request];
 }
 /**
  * @depends clone testOffsetSet
  */
 public function testGetIterator(RouteCollection $collection)
 {
     $this->assertInstanceOf(ArrayIterator::class, $collection->getIterator());
 }