1 | <?php |
||
21 | class FastRouteAdaptorTest extends \PHPUnit_Framework_TestCase |
||
22 | { |
||
23 | |||
24 | /** |
||
25 | * @var FastRouteAdaptor |
||
26 | */ |
||
27 | public $fastRoute; |
||
28 | /** |
||
29 | * @var array |
||
30 | */ |
||
31 | public $options; |
||
32 | /** |
||
33 | * @var \PHPUnit_Framework_MockObject_MockObject|SerializerInterface |
||
34 | */ |
||
35 | public $serializer; |
||
36 | |||
37 | /** |
||
38 | * |
||
39 | */ |
||
40 | public function setUp() |
||
55 | |||
56 | /** |
||
57 | * |
||
58 | */ |
||
59 | public function testConstructMissingOptions() |
||
64 | |||
65 | /** |
||
66 | * |
||
67 | */ |
||
68 | public function testIsCachedWithCacheEnabled() |
||
85 | |||
86 | /** |
||
87 | * |
||
88 | */ |
||
89 | public function testMatch() |
||
92 | |||
93 | /** |
||
94 | * |
||
95 | */ |
||
96 | public function testGetCachedRoutes() |
||
99 | |||
100 | /** |
||
101 | * |
||
102 | */ |
||
103 | public function testIsCached() |
||
106 | |||
107 | /** |
||
108 | * Internal Methods |
||
109 | */ |
||
110 | public function test_checkCacheExpires() |
||
113 | |||
114 | /** |
||
115 | * |
||
116 | */ |
||
117 | public function test_getCachedDispatcher() |
||
120 | |||
121 | /** |
||
122 | * |
||
123 | */ |
||
124 | public function test_createFastRouteHandler() |
||
127 | |||
128 | /** |
||
129 | * |
||
130 | */ |
||
131 | public function test_findOptionsHandler() |
||
134 | |||
135 | /** |
||
136 | * |
||
137 | */ |
||
138 | public function test_createRouterResponse() |
||
141 | } |
||
142 |