<?php namespace FastRoute; use PHPUnit\Framework\TestCase; class RouteCollectorTest extends TestCase { public function testShortcuts() { $r = new DummyRouteCollector(); $r->delete('/delete', 'delete'); $r->get('/get', 'get'); $r->head('/head', 'head');