public function testHead() { $_SERVER['REQUEST_METHOD'] = 'HEAD'; $routes = new RouteCollection(); $expected = ['here' => '\\there']; $routes->head('here', 'there'); $this->assertEquals($expected, $routes->getRoutes()); }