File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -303,7 +303,7 @@ public function testGetArgumentShouldCheckBounds()
303
303
public function testReplaceArgumentShouldCheckBounds ()
304
304
{
305
305
$ this ->expectException (\OutOfBoundsException::class);
306
- $ this ->expectExceptionMessage ('The index "1" is not in the range [0, 0]. ' );
306
+ $ this ->expectExceptionMessage ('The index "1" is not in the range [0, 0] of the arguments of class "stdClass" . ' );
307
307
$ def = new Definition ('stdClass ' );
308
308
309
309
$ def ->addArgument ('foo ' );
@@ -313,7 +313,7 @@ public function testReplaceArgumentShouldCheckBounds()
313
313
public function testReplaceArgumentWithoutExistingArgumentsShouldCheckBounds ()
314
314
{
315
315
$ this ->expectException (\OutOfBoundsException::class);
316
- $ this ->expectExceptionMessage ('Cannot replace arguments if none have been configured yet. ' );
316
+ $ this ->expectExceptionMessage ('Cannot replace arguments for class "stdClass" if none have been configured yet. ' );
317
317
$ def = new Definition ('stdClass ' );
318
318
$ def ->replaceArgument (0 , 'bar ' );
319
319
}
You can’t perform that action at this time.
0 commit comments