@@ -232,34 +232,34 @@ public function testGetCurrentRoute()
232
232
{
233
233
$ this ->setRequestStack (new Request (attributes: ['_route ' => 'some_route ' ]));
234
234
235
- $ this ->assertSame ('some_route ' , $ this ->appVariable ->getCurrent_Route ());
235
+ $ this ->assertSame ('some_route ' , $ this ->appVariable ->getCurrent_route ());
236
236
}
237
237
238
238
public function testGetCurrentRouteWithRequestStackNotSet ()
239
239
{
240
240
$ this ->expectException (\RuntimeException::class);
241
- $ this ->appVariable ->getCurrent_Route ();
241
+ $ this ->appVariable ->getCurrent_route ();
242
242
}
243
243
244
244
public function testGetCurrentRouteParameters ()
245
245
{
246
246
$ routeParams = ['some_param ' => true ];
247
247
$ this ->setRequestStack (new Request (attributes: ['_route_params ' => $ routeParams ]));
248
248
249
- $ this ->assertSame ($ routeParams , $ this ->appVariable ->getCurrent_Route_Parameters ());
249
+ $ this ->assertSame ($ routeParams , $ this ->appVariable ->getCurrent_route_parameters ());
250
250
}
251
251
252
252
public function testGetCurrentRouteParametersWithoutAttribute ()
253
253
{
254
254
$ this ->setRequestStack (new Request ());
255
255
256
- $ this ->assertSame ([], $ this ->appVariable ->getCurrent_Route_Parameters ());
256
+ $ this ->assertSame ([], $ this ->appVariable ->getCurrent_route_parameters ());
257
257
}
258
258
259
259
public function testGetCurrentRouteParametersWithRequestStackNotSet ()
260
260
{
261
261
$ this ->expectException (\RuntimeException::class);
262
- $ this ->appVariable ->getCurrent_Route_Parameters ();
262
+ $ this ->appVariable ->getCurrent_route_parameters ();
263
263
}
264
264
265
265
protected function setRequestStack ($ request )
0 commit comments