1 | <?php |
||
14 | class FastRouteAdaptorTest extends \PHPUnit_Framework_TestCase |
||
15 | { |
||
16 | |||
17 | /** |
||
18 | * @var FastRouteAdaptor |
||
19 | */ |
||
20 | public $fastRoute; |
||
21 | /** |
||
22 | * @var array |
||
23 | */ |
||
24 | public $options; |
||
25 | /** |
||
26 | * @var \PHPUnit_Framework_MockObject_MockObject|SerializerInterface |
||
27 | */ |
||
28 | public $serializer; |
||
29 | |||
30 | /** |
||
31 | * |
||
32 | */ |
||
33 | public function setUp() |
||
48 | |||
49 | /** |
||
50 | * |
||
51 | */ |
||
52 | public function testConstructMissingOptions() |
||
57 | |||
58 | /** |
||
59 | * |
||
60 | */ |
||
61 | public function testIsCachedWithCacheEnabled() |
||
78 | |||
79 | /** |
||
80 | * |
||
81 | */ |
||
82 | public function testMatch() |
||
85 | |||
86 | /** |
||
87 | * |
||
88 | */ |
||
89 | public function testGetCachedRoutes() |
||
92 | |||
93 | /** |
||
94 | * |
||
95 | */ |
||
96 | public function testIsCached() |
||
99 | |||
100 | /** |
||
101 | * Internal Methods |
||
102 | */ |
||
103 | public function test_checkCacheExpires() |
||
106 | |||
107 | /** |
||
108 | * |
||
109 | */ |
||
110 | public function test_getCachedDispatcher() |
||
113 | |||
114 | /** |
||
115 | * |
||
116 | */ |
||
117 | public function test_createFastRouteHandler() |
||
120 | |||
121 | /** |
||
122 | * |
||
123 | */ |
||
124 | public function test_findOptionsHandler() |
||
127 | |||
128 | /** |
||
129 | * |
||
130 | */ |
||
131 | public function test_createRouterResponse() |
||
134 | } |
||
135 |